Example #1
0
        //opens reservation screen

        //opens ordering screen
        private void BtnOrder_Click(object sender, EventArgs e)
        {
            OrderingScreen screen = new OrderingScreen(CurrentTable);

            screen.ShowDialog();
            UpdateTableView();
        }
Example #2
0
 public OrderingRow(OrderingScreen mainScreen, ChapeauModel.MenuItem menuItem, bool showEdit = false, int amount = 0)
 {
     InitializeComponent();
     this.mainScreen = mainScreen;
     OrderItem       = new OrderItem(menuItem, amount);
     lblAmount.Text  = Amount.ToString();
     lblName.Text    = menuItem.Name;
     btnEdit.Visible = false;
 }
Example #3
0
 public OrderingConfirmation(OrderingScreen screen)
 {
     InitializeComponent();
     mainScreen = screen;
     services   = new OrderService();
 }