Exemple #1
0
        private void Button_Back(object sender, RoutedEventArgs e)
        {
            Window Reservationen = new Reservationen();

            Reservationen.Show();
            this.Close();
        }
Exemple #2
0
        private void Button_AddReservation(object sender, RoutedEventArgs e)
        {
            var client        = new AutoReservationServiceClient();
            var myReservation = (ReservationHinzufügenViewModel)DataContext;

            controller.CreateReservation(myReservation);
            Window Reservation = new Reservationen();

            Reservation.Show();
            this.Close();
        }