private void DataGridOrders_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            OrderAux order = DataGridOrders.SelectedItem as OrderAux;

            if (order != null)
            {
                OrderDetailView orderDetailView = new OrderDetailView();
                orderDetailView.OrderId.Text = Convert.ToString(order.OrderID);
                orderDetailView.ShowDialog();
            }
        }
Beispiel #2
0
 public ProductView(OrderDetailView orderDetailView)
 {
     InitializeComponent();
     OrderDetailView = orderDetailView;
 }