2022-03-18 22:48:14 +04:00
|
|
|
|
using ToolsDesktop.Models;
|
2021-04-01 21:30:29 +04:00
|
|
|
|
|
2022-03-18 22:48:14 +04:00
|
|
|
|
namespace ToolsDesktop.Interfaces
|
2021-04-01 21:30:29 +04:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Работа с контролом элемента
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IControlViewEntityElement
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Открытие формы
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void OpenControl(ControlOpenModel model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Новый экземпляр контрола
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
IControl GetInstanceControl();
|
2021-04-02 09:29:09 +04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение настроек в xml-строку
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
string SaveControlToXml();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Загрузка настроек из xml-строки
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="xml"></param>
|
|
|
|
|
void LoadControlFromXml(string xml);
|
2021-04-01 21:30:29 +04:00
|
|
|
|
}
|
|
|
|
|
}
|