private void btnGoTo_Click(object sender, EventArgs e) { MyForm aForm = new MyForm(); aForm.ShowDialog(); //MyForm bForm = new MyForm(); //bForm.Show(); }
private void openToolStripMenuItem_Click(object sender, EventArgs e) { MyForm cForm = new MyForm(); cForm.ShowDialog(); }