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 ControlDisciplineElement : GenericControlEntityElement, IGenericControlEntityElement { public ControlDisciplineElement() { InitializeComponent(); Title = "Дисципилна"; ControlId = new Guid("8905d288-48c2-4bee-bf5e-2115bbccf6a7"); _genericControlViewEntityElement = this; } public IControl GetInstanceGenericControl() => new ControlDisciplineElement() { ControlId = Guid.NewGuid() }; public ControlViewEntityElementConfiguration GetConfigControl() => new(); } }