Esempio n. 1
0
 //edit sale
 private void btnEditSalesOrder_Click(object sender, RoutedEventArgs e)
 {
     if (SalesOrderSelected())
     {
         SalesOrder_AddEdit editSaleForm = new SalesOrder_AddEdit(Ctx, SalesOrders, SelectedSalesOrder);
         editSaleForm.Show();
     }
     else
     {
         MessageNotSelected();
     }
 }
Esempio n. 2
0
        //add sale
        private void btnNewSalesOrder_Click(object sender, RoutedEventArgs e)
        {
            SalesOrder_AddEdit addSaleForm = new SalesOrder_AddEdit(Ctx, SalesOrders);

            addSaleForm.Show();
        }