DepartmentProject/DepartmentPortal/Common/ToolsDesktop/Interfaces/IControlViewEntityElement.cs

34 lines
819 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using ToolsDesktop.Models;
namespace ToolsDesktop.Interfaces
{
/// <summary>
/// Работа с контролом элемента
/// </summary>
public interface IControlViewEntityElement
{
/// <summary>
/// Открытие формы
/// </summary>
/// <param name="model"></param>
void OpenControl(ControlOpenModel model);
/// <summary>
/// Новый экземпляр контрола
/// </summary>
/// <returns></returns>
IControl GetInstanceControl();
/// <summary>
/// Сохранение настроек в xml-строку
/// </summary>
/// <returns></returns>
string SaveControlToXml();
/// <summary>
/// Загрузка настроек из xml-строки
/// </summary>
/// <param name="xml"></param>
void LoadControlFromXml(string xml);
}
}