27 lines
1.1 KiB
C#
27 lines
1.1 KiB
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 ControlEmployeeEmployeePostElement :
|
||
GenericControlEntityElement<EmployeeEmployeePostGetBindingModel, EmployeeEmployeePostSetBindingModel, EmployeeEmployeePostListViewModel, EmployeeEmployeePostViewModel, EmployeeEmployeePostBusinessLogic>,
|
||
IGenericControlEntityElement
|
||
{
|
||
public ControlEmployeeEmployeePostElement()
|
||
{
|
||
InitializeComponent();
|
||
Title = "Связи сотрудников с должностями";
|
||
ControlId = new Guid("bdc9a6ef-968c-4d8e-bc19-aa15485cc855");
|
||
_genericControlViewEntityElement = this;
|
||
}
|
||
|
||
public IControl GetInstanceGenericControl() => new ControlEmployeeEmployeePostElement() { ControlId = Guid.NewGuid() };
|
||
}
|
||
} |