private void myBookingsButton_Click(object sender, EventArgs e) { MyBookings myBookings = new MyBookings(user); myBookings.Show(); this.Hide(); }
private void returnTicketButton_Click(object sender, EventArgs e) { DataService.DeleteTakenSeat(bookingCode); DataService.DeleteMyBooking(bookingCode); MyBookings myBookings = new MyBookings(user); myBookings.Show(); this.Hide(); }
private void returnButton_Click(object sender, EventArgs e) { if (use == "see booking info")// { MyBookings myBookings = new MyBookings(user); myBookings.Show(); this.Hide(); } else { Flights flights = new Flights(user); flights.Show(); this.Hide(); } }