private void menuSetUpToolStripMenuItem_Click_1(object sender, EventArgs e) { using (MenuSetup ms = new MenuSetup()) { ms.FormClosed += new FormClosedEventHandler(MyForm_FormClosed); ms.ShowDialog(); } }
private void menuSetupToolStripMenuItem_Click(object sender, EventArgs e) { MenuSetup ms = new MenuSetup(); ms.Show(); }