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