Example #1
0
 public AccountingManagementClass(BillList bills)
 {
     Bills = bills;
     Index = 1;
     Date  = DateTime.Today;
     doDateBills();
 }
Example #2
0
 public ConfigurationClass()
 {
     Products = new ProductsList();
     Bills    = new BillList();
     Users    = new UsersList();
     LogIn    = false;
     Languaje = Languajes.English;
 }
Example #3
0
 public AccountingManagmentScreen(BillList bills, Languajes languaje)
 {
     AccountingManagement = new AccountingManagementClass(bills);
     searchScreen         = new SearchScreen(languaje);
     InitializeComponent();
     Draw();
     this.languaje = languaje;
     drawTexts();
 }
Example #4
0
 public TableScreen(ProductsList products, BillList bills,
     User employee, Languajes languaje)
 {
     Tables = new TablesClass(products, bills, employee);
     LoadTables();
     DrawTables();
     edit = false;
     this.languaje = languaje;
     drawTexts();
 }
Example #5
0
        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);
        }
Example #6
0
 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;
 }
Example #7
0
        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();
        }