Interface IMainWindowService
主界面服务接口
public interface IMainWindowService : IServiceBase, IModuleBase
- Inherited Members
- Extension Methods
Properties
MainWindowForm
主界面
Form MainWindowForm { get; }
Property Value
StatusMessage0
状态信息0
string StatusMessage0 { get; set; }
Property Value
StatusMessage1
状态信息1
string StatusMessage1 { get; set; }
Property Value
StatusMessage2
状态信息2
string StatusMessage2 { get; set; }
Property Value
StatusMessage3
状态信息3
string StatusMessage3 { get; set; }
Property Value
StatusMessage4
状态信息4
string StatusMessage4 { get; set; }
Property Value
StatusMessage5
状态信息5
string StatusMessage5 { get; set; }
Property Value
StatusMessage6
状态信息6
string StatusMessage6 { get; set; }
Property Value
StatusMessage7
状态信息7
string StatusMessage7 { get; set; }
Property Value
StatusMessage8
状态信息8
string StatusMessage8 { get; set; }
Property Value
StatusMessage9
状态信息9
string StatusMessage9 { get; set; }
Property Value
Methods
GetConnectedState(List<ConnectedState>)
获取连接状态
List<ConnectedState> GetConnectedState(List<ConnectedState> visibleName = null)
Parameters
visibleNameList<ConnectedState>指定可显示名称,null=显示全部
Returns
GetWindowUILayoutFileNames()
获取窗口布局文件夹下所有名称
List<string> GetWindowUILayoutFileNames()
Returns
GetWindowUILayoutPath(string)
获取窗口布局文件路径
string GetWindowUILayoutPath(string fileName)
Parameters
fileNamestring文件名称
Returns
LoadSkinPalette()
加载皮肤和颜色
void LoadSkinPalette()
OnClosing()
触发关闭窗口事件
void OnClosing()
OnLoadWindowUI()
触发加载窗口界面事件
void OnLoadWindowUI()
OnWindowUILayoutSave()
触发保存窗口界面布局
void OnWindowUILayoutSave()
SetWaitDialog(string, string)
设置等待对话框
void SetWaitDialog(string caption, string content)
Parameters
ShowAlertDialog(string, string)
提示窗显示
void ShowAlertDialog(string caption, string content)
Parameters
ShowAlertDialog(string, string, int)
提示窗显示
void ShowAlertDialog(string caption, string content, int autoFormDelay)
Parameters
ShowDockView()
显示视图
void ShowDockView()
WaitDialogClose()
关系等待对话框
void WaitDialogClose()
WaitDialogShow(string, string)
显示等待对话框
void WaitDialogShow(string caption, string content)
Parameters
Events
EventFormClosing
关闭窗体前发生
event FormClosingEventHandler EventFormClosing
Event Type
EventLoadWindowUI
加载窗口界面
event EventHandler<EventArgs> EventLoadWindowUI
Event Type
EventLoadWindowUIFinish
加载窗口界面完成
event EventHandler<EventArgs> EventLoadWindowUIFinish
Event Type
EventShowAlertDialog
报警对话框事件
event EventHandler<AlertDialogEventArgs> EventShowAlertDialog
Event Type
WindowUILayoutSave
保存窗口界面布局
event EventHandler<EventArgs> WindowUILayoutSave
Event Type
WindowUIReset
重置窗口界面布局
event EventHandler<EventArgs> WindowUIReset