//opens reservation screen //opens ordering screen private void BtnOrder_Click(object sender, EventArgs e) { OrderingScreen screen = new OrderingScreen(CurrentTable); screen.ShowDialog(); UpdateTableView(); }
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; }
public OrderingConfirmation(OrderingScreen screen) { InitializeComponent(); mainScreen = screen; services = new OrderService(); }