27 lines
935 B
C#
27 lines
935 B
C#
|
using DepartmentBusinessLogic.BindingModels;
|
|||
|
using DepartmentBusinessLogic.BusinessLogics;
|
|||
|
using DepartmentBusinessLogic.ViewModels;
|
|||
|
using DesktopTools.Controls;
|
|||
|
using DesktopTools.Interfaces;
|
|||
|
using System;
|
|||
|
|
|||
|
namespace DepartmentWindowsDesktop.EntityControls
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Реализация контрола для дисциплины
|
|||
|
/// </summary>
|
|||
|
public partial class ControlDisciplineElement :
|
|||
|
GenericControlEntityElement<DisciplineGetBindingModel, DisciplineSetBindingModel, DisciplineListViewModel, DisciplineViewModel, DisciplineBusinessLogic>,
|
|||
|
IGenericControlEntityElement
|
|||
|
{
|
|||
|
public ControlDisciplineElement()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
Title = "Дисципилна";
|
|||
|
ControlId = new Guid("8905d288-48c2-4bee-bf5e-2115bbccf6a7");
|
|||
|
_genericControlViewEntityElement = this;
|
|||
|
}
|
|||
|
|
|||
|
public IControl GetInstanceGenericControl() => new ControlDisciplineElement() { ControlId = Guid.NewGuid() };
|
|||
|
}
|
|||
|
}
|