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

27 lines
1.1 KiB
C#

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 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();
}
}