我怎样才能关闭父窗体Form1中所有的子窗体呢?
是不是:
foreach( Form n in this.MdiChildren)
{
n.Close();
}
那么有无更简单的方法呢?
谢谢