예제 #1
0
        private void mnBookFlight_Click(object sender, RoutedEventArgs e)
        {
            BookFlightWindow wBookFlight = new BookFlightWindow();

            wBookFlight.User = User;
            ShowDialogWindow(wBookFlight);
        }
예제 #2
0
        private void mnTickets_Click(object sender, RoutedEventArgs e)
        {
            TicketsManagementWindow wTicketsManagement = new TicketsManagementWindow();

            ShowDialogWindow(wTicketsManagement);

            if (wTicketsManagement.IsAddTicket)
            {
                BookFlightWindow wBookFlight = new BookFlightWindow();
                wBookFlight.User = User;
                ShowDialogWindow(wBookFlight);
            }
        }