c# 判断窗体已打开则显示为焦点
摘要:
MDI编程模式private void menuItem3_Click(object sender, System.EventArgs e) //菜单的CLICK事件.{FrmClass MyClass = null; //生成自己的表单foreach( Form ftemp in this.MdiChildren) //查找当前父表单所有子表单{if(ftemp is FrmClass){MyClass = (FrmClass)ftemp;break;}}if(MyClass==null || MyClass.IsDisposed){MyClass = new FrmClass();MyCl 阅读全文
posted @ 2011-05-20 15:11 和轩僮 阅读(1561) 评论(0) 推荐(0) 编辑