public ConfigurationClass() { Products = new ProductsList(); Bills = new BillList(); Users = new UsersList(); LogIn = false; Languaje = Languajes.English; }
public ProductsManagmentScreen(ProductsList products, Languajes languaje) { ProductManagement = new ProductManagementClass(products); 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 AdminScreen() { this.Users = new UsersList(); this.Bills = new BillList(); this.Products = new ProductsList(); LoadComponents(); InitializeComponent(); languaje = Languajes.English; }
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(); }