private void button2_Click(object sender, EventArgs e) { Form5 form5 = new Form5(); form5.Visible = true; this.Visible = false; }
private void button1_Click(object sender, EventArgs e) { Form5 form5 = new Form5(); form5.ShowDialog(); }