Exemplo n.º 1
0
        private void Button_Back(object sender, RoutedEventArgs e)
        {
            Window Kunden = new Kunden();

            Kunden.Show();
            this.Close();
        }
Exemplo n.º 2
0
        private void Button_AddCustomer(object sender, RoutedEventArgs e)
        {
            var client     = new AutoReservationServiceClient();
            var myCustomer = (KundeHinzufügenViewModel)DataContext;

            controller.CreateKunde(myCustomer);
            Window Kunden = new Kunden();

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