Ejemplo n.º 1
0
 public TableOverview(Employee employee) // Employee
 {
     InitializeComponent();
     this.Employee = employee;
     Service       = new TableOverview_Service();
     BtnListTable  = new Button[10] {
         btnTable1, btnTable2, btnTable3, btnTable4, btnTable5, btnTable6, btnTable7, btnTable8, btnTable9, btnTable10
     };
     BtnListBar = new Button[10] {
         btnBar1, btnBar2, btnBar3, btnBar4, btnBar5, btnBar6, btnBar7, btnBar8, btnBar9, btnBar10
     };
     BtnListKitchen = new Button[10] {
         btnKitchen1, btnKitchen2, btnKitchen3, btnKitchen4, btnKitchen5, btnKitchen6, btnKitchen7, btnKitchen8, btnKitchen9, btnKitchen10
     };
     ButtonImages = new Dictionary <Images, Image>();
     LoadImages();
     TableList              = Service.GetTableList();
     ActiveOrderlist        = Service.GetActiveOrderList();
     ActiveOrderProductList = Service.GetActiveOrderProductList();
     ProductList            = Service.GetProductList();
     UpdateTableStatus();
     ServiceBtnUpdate();
     InfoEmployee();
     InitializeTimer();
 }