30 lines
985 B
C#
30 lines
985 B
C#
|
using DepartmentBusinessLogic.BindingModels;
|
|||
|
using DepartmentBusinessLogic.BusinessLogics;
|
|||
|
using DepartmentBusinessLogic.ViewModels;
|
|||
|
using DesktopTools.Controls;
|
|||
|
using DesktopTools.Interfaces;
|
|||
|
using DesktopTools.Models;
|
|||
|
using System;
|
|||
|
|
|||
|
namespace DepartmentWindowsDesktop.EntityControls
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Реализация контрола для приказа
|
|||
|
/// </summary>
|
|||
|
public partial class ControlOrderElement :
|
|||
|
GenericControlEntityElement<OrderGetBindingModel, OrderSetBindingModel, OrderListViewModel, OrderViewModel, OrderBusinessLogic>,
|
|||
|
IGenericControlEntityElement
|
|||
|
{
|
|||
|
public ControlOrderElement()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
Title = "Приказ";
|
|||
|
ControlId = new Guid("f4637ef8-b1f4-4980-b0ef-776496e2a5dc");
|
|||
|
_genericControlViewEntityElement = this;
|
|||
|
}
|
|||
|
|
|||
|
public IControl GetInstanceGenericControl() => new ControlOrderElement() { ControlId = Guid.NewGuid() };
|
|||
|
|
|||
|
public ControlViewEntityElementConfiguration GetConfigControl() => new();
|
|||
|
}
|
|||
|
}
|