Esempio n. 1
0
 private void Start(string kitchenorbar)
 {
     if (kitchenorbar == "kitchen")
     {
         kitchenlbl.Show();
         DisplayKitchenOrders();
     }
     if (kitchenorbar == "bar")
     {
         Barlbl.Show();
         DisplayBarOrders();
     }
 }
Esempio n. 2
0
 private void AutoRefresh(string kitchenorbar) // Extra method for refreshing the list every minute and chooses between Kitchen or bar view
 {
     if (kitchenorbar == "kitchen")
     {
         kitchenlbl.Show();
         DisplayKitchenOrders();
     }
     if (kitchenorbar == "bar")
     {
         Barlbl.Show();
         DisplayBarOrders();
     }
 }