private void button1_Click(object sender, System.EventArgs e) { Form2 form2 = new Form2(); form2.ShowDialog(); }