http://topic.csdn.net/u/20070911/15/fff5329e-e54b-4413-8f5a-5738cd45c898.html
bool bResult = false;
foreach (Form frm in Application.OpenForms)
{
if (frm.Name == asFormName)
{
bResult = true;
break;
}
}
这是判断窗口是否关闭的,不是我想要的
断点调试一下就明白了
其实我想要的很简单,就是判断一下窗体的Visible属性