public ChickenSubCustomiseScreen(OrderScreen oS, KitchenLiveOrderScreen kOrderScreen, ChickenSub cs) { InitializeComponent(); kitchenScreen = kOrderScreen; orderScreen = oS; chickenSubItem = cs; }
ChickenBox chickenBoxMeal = new ChickenBox();//this is where i declare the object public ChickenBoxCustomiseScreen(OrderScreen oS, KitchenLiveOrderScreen kOrderScreen, ChickenBox c) { InitializeComponent(); kitchenScreen = kOrderScreen; orderScreen = oS; chickenBoxMeal = c; }
public SubCustomiseScreen(OrderScreen oS, KitchenLiveOrderScreen kOrderScreen, Burger b) { InitializeComponent(); orderScreen = oS; kitchenScreen = kOrderScreen; burgerItem = b; }
public OrderScreen(KitchenLiveOrderScreen kOrderScreen, CustomerLiveOrderScreen customerLiveOrderScreenObject, Order orderObject) { InitializeComponent(); kitchenScreen = kOrderScreen; customerScreen = customerLiveOrderScreenObject; order = orderObject; }
public TakeoutSelectionScreen(KitchenLiveOrderScreen kOrderScreen, CustomerLiveOrderScreen customerLiveScrenObject) { InitializeComponent(); kitchenScreen = kOrderScreen; customerScreen = customerLiveScrenObject; kOrderScreen.incrementOrderNo(); }
public DrinkCustomiseScreen(OrderScreen oS, KitchenLiveOrderScreen kOrderScreen, Drink d) { //DrinkCustomiseScreen(OrderScreen oS, KitchenLiveOrderScreen kOrderScreen, Drink d) InitializeComponent(); kitchenScreen = kOrderScreen; orderScreen = oS; drinkItem = d; }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); //initiating starting screens: Kitchen back end screen for staff KitchenLiveOrderScreen kitchenScreen = new KitchenLiveOrderScreen(); //Showing the screen Application.Run(kitchenScreen); }
public CheckoutScreen(float total, ListBox list, Order orderObject, OrderScreen oScreen, KitchenLiveOrderScreen kOScreen, CustomerLiveOrderScreen custScreenObject) { InitializeComponent(); totalTextBox.Text = total.ToString(); string text = ""; foreach (var item in list.Items) { text = item.ToString(); // /n to print each item on new line or you omit /n to print text on same line checkoutListBox.Items.Add(text); } order = orderObject; orderScreen = oScreen; kitchenScreen = kOScreen; customerScreen = custScreenObject; }
public ChipsCustomiseScreen(OrderScreen oS, KitchenLiveOrderScreen kOrderScreen, Chips c) { InitializeComponent(); kitchenScreen = kOrderScreen; orderScreen = oS; }
public Order(KitchenLiveOrderScreen kOrderScreen) { OrderNo = kOrderScreen.OrderNoCount; }