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 ControlStudentMarkPassedDisciplineElement : GenericControlEntityElement, IGenericControlEntityElement { public ControlStudentMarkPassedDisciplineElement() { InitializeComponent(); Title = "Оценка"; ControlId = new Guid("2a9273d4-fd7a-457f-9879-0b1c521c0c5d"); _genericControlViewEntityElement = this; } public IControl GetInstanceGenericControl() => new ControlStudentMarkPassedDisciplineElement() { ControlId = Guid.NewGuid() }; public ControlViewEntityElementConfiguration GetConfigControl() => new(); } }