コード例 #1
0
ファイル: ConfigurationClass.cs プロジェクト: jkh9/BarPOS
 public ConfigurationClass()
 {
     Products = new ProductsList();
     Bills    = new BillList();
     Users    = new UsersList();
     LogIn    = false;
     Languaje = Languajes.English;
 }
コード例 #2
0
 public ProductsManagmentScreen(ProductsList products, Languajes languaje)
 {
     ProductManagement = new ProductManagementClass(products);
     searchScreen      = new SearchScreen(languaje);
     InitializeComponent();
     Draw();
     this.languaje = languaje;
     drawTexts();
 }
コード例 #3
0
ファイル: TablesScreen.cs プロジェクト: jkh9/BarPOS
 public TableScreen(ProductsList products, BillList bills,
     User employee, Languajes languaje)
 {
     Tables = new TablesClass(products, bills, employee);
     LoadTables();
     DrawTables();
     edit = false;
     this.languaje = languaje;
     drawTexts();
 }
コード例 #4
0
ファイル: AdminScreen.cs プロジェクト: jkh9/BarPOS
        public AdminScreen()
        {
            this.Users    = new UsersList();
            this.Bills    = new BillList();
            this.Products = new ProductsList();

            LoadComponents();
            InitializeComponent();
            languaje = Languajes.English;
        }
コード例 #5
0
ファイル: POSScreen.cs プロジェクト: jkh9/BarPOS
        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();
        }