Interaction logic for CustomerOrderWindow.xaml
Exemple #1
0
        private void addCustomerOrderClick(object sender, RoutedEventArgs e)
        {
            var customerOrderWindow = new CustomerOrderWindow(_ordersService, _customersService, _orderItemsService, _inventoryService, VM, _eventAggregator);

            customerOrderWindow.Owner = this;
            customerOrderWindow.Show();
        }
 private void editCustomerOrderClick(object sender, RoutedEventArgs e)
 {
     var currentOrder = VM.OrdersVM.SelectedOrder;
     var customerOrderWindow = new CustomerOrderWindow(currentOrder, _ordersService, _customersService, _orderItemsService, _inventoryService, VM, _eventAggregator);
     customerOrderWindow.Owner = this;
     customerOrderWindow.Show();
 }
Exemple #3
0
        private void editCustomerOrderClick(object sender, RoutedEventArgs e)
        {
            var currentOrder        = VM.OrdersVM.SelectedOrder;
            var customerOrderWindow = new CustomerOrderWindow(currentOrder, _ordersService, _customersService, _orderItemsService, _inventoryService, VM, _eventAggregator);

            customerOrderWindow.Owner = this;
            customerOrderWindow.Show();
        }
Exemple #4
0
 private void addCustomerOrderClick(object sender, RoutedEventArgs e)
 {
     var customerOrderWindow = new CustomerOrderWindow(_ordersService, _customersService, _orderItemsService, _inventoryService, VM, _eventAggregator);
     customerOrderWindow.Owner = this;
     customerOrderWindow.Show();
 }