private void ChildFormToolStripMenuItem_Click(object sender, EventArgs e) { foreach (var child in this.MdiChildren) { child.Close(); } this.menuStrip1.MdiWindowListItem = ChildFormToolStripMenuItem; ChildForm Cf = new ChildForm(); Cf.MdiParent=this; Cf.Show(); Cf.WindowState = FormWindowState.Maximized; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)