public AccountingManagementClass(BillList bills) { Bills = bills; Index = 1; Date = DateTime.Today; doDateBills(); }
public ConfigurationClass() { Products = new ProductsList(); Bills = new BillList(); Users = new UsersList(); LogIn = false; Languaje = Languajes.English; }
public AccountingManagmentScreen(BillList bills, Languajes languaje) { AccountingManagement = new AccountingManagementClass(bills); searchScreen = new SearchScreen(languaje); InitializeComponent(); Draw(); this.languaje = languaje; drawTexts(); }
public TableScreen(ProductsList products, BillList bills, User employee, Languajes languaje) { Tables = new TablesClass(products, bills, employee); LoadTables(); DrawTables(); edit = false; this.languaje = languaje; drawTexts(); }
public PayScreen(ProductToSellList products, BillList bills, User actualUser, int table, double total, Languajes languaje) { Pay = new PayClass(products, bills, actualUser, table, total); InitializeComponent(); drawTexts(languaje); Draw(); drawTexts(languaje); }
public PayClass(ProductToSellList products, BillList bills, User actualUser, int table, double total) { Products = products; Bills = bills; ActualBill = new Bill(); ActualBill.Total = Products.CalculeTotal(); this.actualUser = actualUser; this.table = table; doTheBill(); ActualBill.Total = total; }
public POSScreen(ProductsList products, TableList tables, BillList bills, int index, User employee, Languajes languaje) { POS = new POSSClass(products, tables, bills, index, employee); InitializeComponent(); DrawCategories(); DrawTableProducts(); DrawProductsToSell(); Languaje = languaje; drawTexts(); }