2021-04-01 21:30:29 +04:00
|
|
|
|
using DesktopTools.Models;
|
|
|
|
|
|
|
|
|
|
namespace DesktopTools.Interfaces
|
|
|
|
|
{
|
|
|
|
|
/// <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
|
|
|
|
}
|
|
|
|
|
}
|