//
-----------------查询一个子窗体是否存在----------------
private
bool
checkChildFrmExist(
string
childFrmName)
{ foreach(Form childFrm in this.MdiChildren) { //用子窗体的Name进行判断,如果已经存在则将他激活 if(childFrm.Name == childFrmName) { if(childFrm.WindowState == FormWindowState.Minimized) childFrm.WindowState = FormWindowState.Normal; childFrm.Activate(); return true; } } return false; }
转载于:https://www.cnblogs.com/tuyile006/archive/2006/10/19/533534.html
相关资源:DirectX修复工具V4.0增强版
转载请注明原文地址: https://win8.8miu.com/read-1485878.html