using DepartmentBusinessLogic.BindingModels; using DepartmentBusinessLogic.BusinessLogics; using DepartmentBusinessLogic.ViewModels; using DesktopTools.Controls; using DesktopTools.Interfaces; using System; namespace DepartmentWindowsDesktop.EntityControls { /// /// Реализация контрола для ученого звания /// public partial class ControlLecturerAcademicRankElement : GenericControlEntityElement, IGenericControlEntityElement { public ControlLecturerAcademicRankElement() { InitializeComponent(); Title = "Ученое звание"; ControlId = new Guid("6bc16291-9f06-4a67-ae66-9b723ae116c4"); _genericControlViewEntityElement = this; } public IControl GetInstanceGenericControl() => new ControlLecturerAcademicRankElement() { ControlId = Guid.NewGuid() }; } }