private void toolStripMenuItem6_Click(object sender, EventArgs e) { if (formCANCommand == null || formCANCommand.IsDisposed) { formCANCommand = new FormCANCommand(); formCANCommand.MdiParent = this; formCANCommand.Show(); } else { formCANCommand.Activate(); } }