private void btnBackToBooking_Click(object sender, EventArgs e) { if (CC.AccessLevel() != 4) { Bookings bookings = new Bookings(); bookings.Show(); } this.Visible = false; }
private void btnBookings_Click(object sender, EventArgs e) { if (CC.AccessLevel() == 3) { WorkshopBookings WB = new WorkshopBookings(); WB.Show(); this.Visible = false; } else if (CC.AccessLevel() == 4) { CarrierForm cf = new CarrierForm(); cf.Show(); this.Visible = false; } else { Bookings B = new Bookings(); B.Show(); this.Visible = false; } }