Esempio n. 1
0
        private void DataGridSales_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            SaleAux sale = DataGridSales.SelectedItem as SaleAux;

            if (sale != null)
            {
                SaleDetailView saleDetailView = new SaleDetailView();
                saleDetailView.SaleId.Text = Convert.ToString(sale.SaleID);
                saleDetailView.ShowDialog();
            }
        }
Esempio n. 2
0
 public ProductView(SaleDetailView saleDetailView)
 {
     InitializeComponent();
     SaleDetailView = saleDetailView;;
 }