private void button2_Click(object sender, EventArgs e)
        {
            var form2 = new AppointmentBooking();

            form2.Closed += (sender1, args) => this.Close();
            this.Hide();
            form2.Show();
        }
Exemple #2
0
 public AppointmentBooking()
 {
     Instance = this;
     InitializeComponent();
     InitializeControls();
 }