2021-04-04 10:18:45 +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-04 10:18:45 +04:00
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class ControlLecturerPostElement :
|
|
|
|
|
GenericControlEntityElement<LecturerPostGetBindingModel, LecturerPostSetBindingModel, LecturerPostListViewModel, LecturerPostViewModel, LecturerPostBusinessLogic>,
|
|
|
|
|
IGenericControlEntityElement
|
|
|
|
|
{
|
|
|
|
|
public ControlLecturerPostElement()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2021-04-05 12:25:10 +04:00
|
|
|
|
Title = "Связи преподавателей с должностями";
|
|
|
|
|
ControlId = new Guid("88f4b4e5-68ff-4a84-9f38-dc9952cc635f");
|
2021-04-04 10:18:45 +04:00
|
|
|
|
_genericControlViewEntityElement = this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IControl GetInstanceGenericControl() => new ControlLecturerPostElement() { ControlId = Guid.NewGuid() };
|
|
|
|
|
}
|
|
|
|
|
}
|