DepartmentProject/DepartmentPortal/Department/DepartmentWindowsDesktop/EntityControls/LecturerAcademicRank/ControlLecturerAcademicRankElement.cs

27 lines
1.0 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 ControlLecturerAcademicRankElement :
GenericControlEntityElement<LecturerAcademicRankGetBindingModel, LecturerAcademicRankSetBindingModel, LecturerAcademicRankListViewModel, LecturerAcademicRankViewModel, LecturerAcademicRankBusinessLogic>,
IGenericControlEntityElement
{
public ControlLecturerAcademicRankElement()
{
InitializeComponent();
Title = "Ученое звание";
ControlId = new Guid("6bc16291-9f06-4a67-ae66-9b723ae116c4");
_genericControlViewEntityElement = this;
}
public IControl GetInstanceGenericControl() => new ControlLecturerAcademicRankElement() { ControlId = Guid.NewGuid() };
}
}