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 ControlBasicDepartmentElement :
GenericControlEntityElement,
IGenericControlEntityElement
{
public ControlBasicDepartmentElement()
{
InitializeComponent();
Title = "Базовая кафедра";
ControlId = new Guid("bce7c7f4-2b7f-4b0c-aa4b-0c7a026967c6");
_genericControlViewEntityElement = this;
}
public IControl GetInstanceGenericControl() => new ControlBasicDepartmentElement() { ControlId = Guid.NewGuid() };
public ControlViewEntityElementConfiguration GetConfigControl() => new();
}
}