// Goes to the previous window, GuestArrivalWindow
        private void BackButton_Click(object sender, RoutedEventArgs e)
        {
            GuestArrivalWindow guestArrivalWindow = new GuestArrivalWindow();

            guestArrivalWindow.Show();
            Thread.Sleep(10);
            this.Close();
        }
Exemplo n.º 2
0
        /// Goes to GuestArrivalWindow
        private void GoToGuestArrivalWindow(object sender, RoutedEventArgs e)
        {
            GuestArrivalWindow guestArrivalWindow = new GuestArrivalWindow();

            guestArrivalWindow.GetController(controller);
            guestArrivalWindow.Show();
            Thread.Sleep(10);
            this.Close();
        }