private void myBookingsButton_Click(object sender, EventArgs e)
        {
            MyBookings myBookings = new MyBookings(user);

            myBookings.Show();
            this.Hide();
        }
Beispiel #2
0
        private void returnTicketButton_Click(object sender, EventArgs e)
        {
            DataService.DeleteTakenSeat(bookingCode);
            DataService.DeleteMyBooking(bookingCode);
            MyBookings myBookings = new MyBookings(user);

            myBookings.Show();
            this.Hide();
        }
Beispiel #3
0
 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();
     }
 }