private void Manager_SelectedIndexChanged(object sender, EventArgs e) //When the Manager chooses a new option, open corresponding window
 {
     if (Manager.SelectedIndex == 0)
     {
         create CreateCustomer = new create();
         CreateCustomer.getUser = "******";
         CreateCustomer.ShowDialog();
     }
     else if (Manager.SelectedIndex == 1)
     {
         CheckBookingsStaff checkBooking = new CheckBookingsStaff();
         checkBooking.getUser = "******";
         checkBooking.ShowDialog();
     }
     else if (Manager.SelectedIndex == 2)
     {
         NewBooking CreateBooking = new NewBooking();
         CreateBooking.getUser = "******";
         CreateBooking.user    = 1;
         CreateBooking.ShowDialog();
     }
     else if (Manager.SelectedIndex == 3)
     {
         SaleReps sRepsDetails = new SaleReps();
         sRepsDetails.ShowDialog();
     }
     else if (Manager.SelectedIndex == 4)
     {
         Upgrade upgrade = new Upgrade();
         upgrade.ShowDialog();
     }
 }
 private void SalesRep_SelectedIndexChanged(object sender, EventArgs e) //When a salesRep chooses a new option, open corresponding window
 {
     if (SalesRep.SelectedIndex == 0)
     {
         create CreateCustomer = new create();
         CreateCustomer.getUser = "******";
         CreateCustomer.ShowDialog();
     }
     else if (SalesRep.SelectedIndex == 2)
     {
         NewBooking CreateBooking = new NewBooking();
         CreateBooking.getUser = "******";
         CreateBooking.user    = user;
         CreateBooking.ShowDialog();
     }
     else if (SalesRep.SelectedIndex == 1)
     {
         CheckBookingsStaff checkBooking = new CheckBookingsStaff();
         checkBooking.getUser = "******";
         checkBooking.ShowDialog();
     }
 }