using DepartmentContract.BindingModels; using DepartmentContract.Logics.IGenericEntityLogic; using DepartmentContract.ViewModels; using System; using ToolsDesktop.Controls; using ToolsDesktop.Interfaces; using ToolsDesktop.Models; namespace DepartmentWindowsDesktop.EntityControls { /// /// Реализация контрола для направления обучения /// public partial class ControlEducationDirectionElement : GenericControlEntityElement, IGenericControlEntityElement { public ControlEducationDirectionElement() { InitializeComponent(); Title = "Нправление обучения"; ControlId = new Guid("77cf42dc-e13d-4c4f-b6b2-509f1f8ae2a6"); _genericControlViewEntityElement = this; } public IControl GetInstanceGenericControl() => new ControlEducationDirectionElement() { ControlId = Guid.NewGuid() }; public ControlViewEntityElementConfiguration GetConfigControl() => new(); } }