private void mainFormToolStripMenuItem1_Click(object sender, EventArgs e) { MainForm2 mainForm2 = new MainForm2(); mainForm2.ShowDialog(); }