private void mainFormToolStripMenuItem_Click(object sender, EventArgs e) { MainForm mainForm = new MainForm(); mainForm.ShowDialog(); }