Example #1
0
 public ChickenSubCustomiseScreen(OrderScreen oS, KitchenLiveOrderScreen kOrderScreen, ChickenSub cs)
 {
     InitializeComponent();
     kitchenScreen  = kOrderScreen;
     orderScreen    = oS;
     chickenSubItem = cs;
 }
Example #2
0
        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;
 }
Example #4
0
 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();
 }
Example #6
0
 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;
        }
Example #9
0
 public ChipsCustomiseScreen(OrderScreen oS, KitchenLiveOrderScreen kOrderScreen, Chips c)
 {
     InitializeComponent();
     kitchenScreen = kOrderScreen;
     orderScreen   = oS;
 }
 public Order(KitchenLiveOrderScreen kOrderScreen)
 {
     OrderNo = kOrderScreen.OrderNoCount;
 }