private void testMachineControlToolStripMenuItem_Click(object sender, EventArgs e) { Form frm = new frmTest(); frm.ShowDialog(); }