DepartmentProject/DepartmentPortal/Department/DepartmentWindowsDesktop/EntityControls/StudentMarkSyncHistory/ControlStudentMarkSyncHistoryElement.cs

30 lines
1.3 KiB
C#
Raw 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 ControlStudentMarkSyncHistoryElement :
GenericControlEntityElement<StudentMarkSyncHistoryGetBindingModel, StudentMarkSyncHistorySetBindingModel, StudentMarkSyncHistoryListViewModel, StudentMarkSyncHistoryViewModel, IStudentMarkSyncHistoryLogic>,
IGenericControlEntityElement
{
public ControlStudentMarkSyncHistoryElement()
{
InitializeComponent();
Title = "История синхронизации оценок";
ControlId = new Guid("44371c6d-cd4d-40a2-b105-b77581fcab5f");
_genericControlViewEntityElement = this;
}
public IControl GetInstanceGenericControl() => new ControlStudentMarkSyncHistoryElement() { ControlId = Guid.NewGuid() };
public ControlViewEntityElementConfiguration GetConfigControl() => new();
}
}