2021-04-03 11:41:02 +04:00
|
|
|
|
using DepartmentBusinessLogic.BindingModels;
|
|
|
|
|
using DepartmentBusinessLogic.BusinessLogics;
|
|
|
|
|
using DepartmentBusinessLogic.ViewModels;
|
|
|
|
|
using DesktopTools.Controls;
|
|
|
|
|
using DesktopTools.Interfaces;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace DepartmentWindowsDesktop.EntityControls
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2021-04-05 12:25:10 +04:00
|
|
|
|
/// Реализация контрола для связи сотрудника с должностью
|
2021-04-03 11:41:02 +04:00
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class ControlEmployeePostElement :
|
|
|
|
|
GenericControlEntityElement<EmployeePostGetBindingModel, EmployeePostSetBindingModel, EmployeePostListViewModel, EmployeePostViewModel, EmployeePostBusinessLogic>,
|
|
|
|
|
IGenericControlEntityElement
|
|
|
|
|
{
|
|
|
|
|
public ControlEmployeePostElement()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2021-04-05 12:25:10 +04:00
|
|
|
|
Title = "Связи сотрудников с должностями";
|
|
|
|
|
ControlId = new Guid("bdc9a6ef-968c-4d8e-bc19-aa15485cc855");
|
2021-04-03 11:41:02 +04:00
|
|
|
|
_genericControlViewEntityElement = this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IControl GetInstanceGenericControl() => new ControlEmployeePostElement() { ControlId = Guid.NewGuid() };
|
|
|
|
|
}
|
|
|
|
|
}
|