Beispiel #1
0
        //
        private void btnCustomers_Click(object sender, EventArgs e)
        {
            FormCustomer f = new FormCustomer(this);

            f.Show();
            this.Hide();
        }
 //Back Button
 private void btnBack_Click(object sender, EventArgs e)
 {
     if (frmAddBooking != null)
     {
         frmAddBooking.Show();
         this.Dispose();
     }
     else
     {
         FormCustomer frmCustomer = new FormCustomer(frmMain);
         frmCustomer.Show();
         this.Dispose();
     }
 }