2022-03-18 22:48:14 +04:00
|
|
|
|
using ToolsDesktop.Models;
|
2021-04-01 21:30:29 +04:00
|
|
|
|
using System;
|
|
|
|
|
|
2022-03-18 22:48:14 +04:00
|
|
|
|
namespace ToolsDesktop.Interfaces
|
2021-04-01 21:30:29 +04:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Работа с контролом списка
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IControlViewEntityList : IControl
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Открытие формы
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void OpenControl(ControlOpenModel model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Новый экземпляр контрола
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
IControl GetInstanceControl();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение названиия объекта по его идентификатору
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="id"></param>
|
|
|
|
|
string GetTitleFromIdControl(Guid id);
|
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
|
|
|
|
}
|
|
|
|
|
}
|