DepartmentProject/DepartmentPortal/Department/DepartmentWindowsDesktop/EntityControls/StudentMarkPassedDiscipline/ControlStudentMarkPassedDisciplineElement.cs

30 lines
1.2 KiB
C#
Raw Permalink Normal View History

using DepartmentContract.BindingModels;
using DepartmentContract.Logics.IGenericEntityLogic;
using DepartmentContract.ViewModels;
using System;
using ToolsDesktop.Controls;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
namespace DepartmentWindowsDesktop.EntityControls
{
/// <summary>
/// Реализация контрола для оценки
/// </summary>
public partial class ControlStudentMarkPassedDisciplineElement :
GenericControlEntityElement<StudentMarkPassedDisciplineGetBindingModel, StudentMarkPassedDisciplineSetBindingModel, StudentMarkPassedDisciplineListViewModel, StudentMarkPassedDisciplineViewModel, IStudentMarkPassedDisciplineLogic>,
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();
}
}