public ShopBookForm(CashierForm setCashierForm) { cashierForm = setCashierForm; InitializeComponent(); SetProductsList(); foreach (entities.Product product in products.GetList()) { productsProvider.Add(product); } foreach (entities.Category category in categories.GetList()) { categoriesProvider.Add(category); } if (productsProvider.Count > 0) { SelectFormProduct(productsProvider[0]); } productsGridView.DataSource = productsProvider; productsGridView.Update(); }
public CashiersBookForm(CashierForm setCashierForm) { InitializeComponent(); cashierForm = setCashierForm; if (cashiersProvider.Count > 0) { SelectFormCashier(cashiersProvider[0]); } }
public CashierChooseForm(CashierForm setCashierForm) { cashierForm = setCashierForm; cashiers = new repositories.Cashier(db); dataMapper = new services.DataMapper(db); dataMapper.FillCashiers(cashiers); InitializeComponent(); }
public SettingsForm(CashierForm setCashierForm) { cashierForm = setCashierForm; cashboxes = new repositories.Cashbox(db); dataMapper = new services.DataMapper(db); dataMapper.FillCashboxes(cashboxes); InitializeComponent(); }
public TabletForm(CashierForm setCashierForm) { cashierForm = setCashierForm; InitializeComponent(); }
public BarcodeScanerForm(CashierForm setCashierForm) { cashierForm = setCashierForm; InitializeComponent(); }
public FreeSaleForm(CashierForm setCashierForm) { cashierForm = setCashierForm; InitializeComponent(); }