private void button2_Click(object sender, EventArgs e) { this.Close(); ViewDoctor pz = new ViewDoctor(); pz.Show(); }