예제 #1
0
        private void MenuVm_OrderPlaced(object sender, System.EventArgs e)
        {
            Window orderWindow = new OrderSummaryWindow();

            orderWindow.DataContext = menuVm.OrderSummaryViewModel;
            orderWindow.Show();
            this.Close();
        }
예제 #2
0
        private void BackButton_Click(object sender, RoutedEventArgs e)
        {
            OrderSummaryWindow orderSummaryWindow = new OrderSummaryWindow();

            orderSummaryWindow.DataContext = new OrderSummaryViewModel();
            orderSummaryWindow.Show();
            this.Close();
        }