日期:2014-05-18 浏览次数:20964 次
foreach (Form frm in this.MdiChildren) { if (frm.GetType().Name == "Form2") { frm.BringToFront(); return; } } Form2 frm2 = new Form2(); frm2.MdiParent = this; frm2.Show();