private void button1_Click(object sender, EventArgs e) { this.Hide(); Form2 f = new Form2(); f.ShowDialog(); }