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