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

30 lines
1.1 KiB
C#
Raw Permalink Normal View History

using DepartmentContract.BindingModels;
using DepartmentContract.Logics.IGenericEntityLogic;
using DepartmentContract.ViewModels;
using System;
2022-03-18 22:48:14 +04:00
using ToolsDesktop.Controls;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
namespace DepartmentWindowsDesktop.EntityControls
{
/// <summary>
/// Реализация контрола для ученого звания
/// </summary>
public partial class ControlLecturerAcademicRankElement :
GenericControlEntityElement<LecturerAcademicRankGetBindingModel, LecturerAcademicRankSetBindingModel, LecturerAcademicRankListViewModel, LecturerAcademicRankViewModel, ILecturerAcademicRankLogic>,
IGenericControlEntityElement
{
public ControlLecturerAcademicRankElement()
{
InitializeComponent();
Title = "Ученое звание";
ControlId = new Guid("6bc16291-9f06-4a67-ae66-9b723ae116c4");
_genericControlViewEntityElement = this;
}
public IControl GetInstanceGenericControl() => new ControlLecturerAcademicRankElement() { ControlId = Guid.NewGuid() };
public ControlViewEntityElementConfiguration GetConfigControl() => new();
}
}