DepartmentProject/DepartmentPortal/Department/DepartmentWindowsDesktop/EntityControls/DisciplineBlock/ControlDisciplineBlockElement.cs

30 lines
1.1 KiB
C#
Raw Normal View History

2021-04-03 19:03:56 +04:00
using DepartmentBusinessLogic.BindingModels;
using DepartmentBusinessLogic.BusinessLogics;
using DepartmentBusinessLogic.ViewModels;
using DesktopTools.Controls;
using DesktopTools.Interfaces;
using DesktopTools.Models;
2021-04-03 19:03:56 +04:00
using System;
namespace DepartmentWindowsDesktop.EntityControls
{
/// <summary>
/// Реализация контрола для блока дисциплин
/// </summary>
public partial class ControlDisciplineBlockElement :
GenericControlEntityElement<DisciplineBlockGetBindingModel, DisciplineBlockSetBindingModel, DisciplineBlockListViewModel, DisciplineBlockViewModel, DisciplineBlockBusinessLogic>,
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();
2021-04-03 19:03:56 +04:00
}
}