using System; using System.Collections.Generic; using System.Text; namespace LYFZ.StandardInterface { /// /// 工具按钮和系统菜单单击事件接口 /// public interface IToolMenuClick { /// /// 获取窗体名 /// string FormName { get; } /// /// 在工作区显示子窗体 /// /// 要显示的子窗体类名 void ShowChildForm(string classFullName, string dllKey); /// /// 关闭窗体 /// void CloseForm(); /// /// 退出程序 /// void ExitApplication(); /// /// 刷新工具栏按钮 /// void RefreshTools(); /// /// 在本窗体中显示指定窗体 /// /// 指定窗体的类的完全名称 /// 指定窗体类所在的dll Key /// 窗体显示方式 void ShowForm(string classFullName, string dllKey, string openMode); /// /// 显示登录窗体 /// void ShowLogin(System.Windows.Forms.Form frm=null); /// /// 设置窗体状态 /// /// void SetWindowState(System.Windows.Forms.FormWindowState wState); } }