30 lines
1.1 KiB
C#
30 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
|
|
{
|
|
/// <summary>
|
|
/// Реализация контрола для блока дисциплин
|
|
/// </summary>
|
|
public partial class ControlDisciplineBlockElement :
|
|
GenericControlEntityElement<DisciplineBlockGetBindingModel, DisciplineBlockSetBindingModel, DisciplineBlockListViewModel, DisciplineBlockViewModel, IDisciplineBlockLogic>,
|
|
IGenericControlEntityElement
|
|
{
|
|
public ControlDisciplineBlockElement()
|
|
{
|
|
InitializeComponent();
|
|
Title = "Блок дисципилн";
|
|
ControlId = new Guid("8e2032c5-1412-4ccd-855c-f0b0836e3599");
|
|
_genericControlViewEntityElement = this;
|
|
}
|
|
|
|
public IControl GetInstanceGenericControl() => new ControlDisciplineBlockElement() { ControlId = Guid.NewGuid() };
|
|
|
|
public ControlViewEntityElementConfiguration GetConfigControl() => new();
|
|
}
|
|
} |