2021-04-05 14:20:07 +04:00
|
|
|
|
using DepartmentBusinessLogic.BindingModels;
|
|
|
|
|
using DepartmentBusinessLogic.BusinessLogics;
|
|
|
|
|
using DepartmentBusinessLogic.ViewModels;
|
|
|
|
|
using DesktopTools.Controls;
|
|
|
|
|
using DesktopTools.Interfaces;
|
2021-04-08 10:37:47 +04:00
|
|
|
|
using DesktopTools.Models;
|
2021-04-05 14:20:07 +04:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace DepartmentWindowsDesktop.EntityControls
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Реализация контрола для направления обучения
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class ControlEducationDirectionElement :
|
|
|
|
|
GenericControlEntityElement<EducationDirectionGetBindingModel, EducationDirectionSetBindingModel, EducationDirectionListViewModel, EducationDirectionViewModel, EducationDirectionBusinessLogic>,
|
|
|
|
|
IGenericControlEntityElement
|
|
|
|
|
{
|
|
|
|
|
public ControlEducationDirectionElement()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
Title = "Нправление обучения";
|
|
|
|
|
ControlId = new Guid("77cf42dc-e13d-4c4f-b6b2-509f1f8ae2a6");
|
|
|
|
|
_genericControlViewEntityElement = this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IControl GetInstanceGenericControl() => new ControlEducationDirectionElement() { ControlId = Guid.NewGuid() };
|
2021-04-08 10:37:47 +04:00
|
|
|
|
|
|
|
|
|
public ControlViewEntityElementConfiguration GetConfigControl() => new();
|
2021-04-05 14:20:07 +04:00
|
|
|
|
}
|
|
|
|
|
}
|