Esempio n. 1
0
 private void InitializeSales()
 {
     errorProvider = new ErrorProvider(this);
     InitializeComponent();
     customerController   = new CustomerController();
     saleController       = new SaleController();
     productController    = new ProductController();
     subProductController = new SubProductController();
     subProductForTransactionController = new SubProductForTransactionController();
 }
Esempio n. 2
0
 private void InitializeQuotes()
 {
     errorProvider = new ErrorProvider(this);
     InitializeComponent();
     customerController   = new CustomerController();
     quoteController      = new QuoteController();
     productController    = new ProductController();
     subProductController = new SubProductController();
     subProductForTransactionController = new SubProductForTransactionController();
     saleController  = new SaleController();
     txtValidTo.Text = DateTime.Now.AddDays(30).ToShortDateString();
 }