You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.4 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Mesnac.PlugIn.View
{
public interface IWorkbenchWindow
{
/// <summary>
/// 工作台窗口标题
/// </summary>
string Title
{
get;
set;
}
/// <summary>
/// 主视图内容
/// </summary>
IViewContent ViewContent
{
get;
}
/// <summary>
/// 当前视图内容
/// </summary>
IViewContent ActiveViewContent
{
get;
}
/// <summary>
/// 关闭工作台窗口方法
/// </summary>
/// <param name="isRealClose">是否真正关闭窗口(true为关闭false为隐藏)</param>
/// <returns>关闭成功返回真</returns>
bool CloseWindow(bool isRealClose);
/// <summary>
/// 选中窗口
/// </summary>
void SelectWindow();
/// <summary>
/// 触发Reload事件
/// </summary>
/// <param name="e">事件对象</param>
void TriggerReloadEvent(EventArgs e);
/// <summary>
/// 重绘窗口内容
/// </summary>
void RedrawContent();
/// <summary>
/// 标题更改的事件
/// </summary>
event EventHandler TitleChanged;
}
}