private void DinnerButton_Click(object sender, EventArgs e) { LunchPanel.Hide(); DrinksPanel.Hide(); DinnerPanel.Show(); AddOrderItemFromListButton.Show(); }
public EditForm(Employee employee, Table table, string panel) { this.employee = employee; InitializeComponent(); DinnerPanel.Hide(); LunchPanel.Show(); DrinksPanel.Hide(); Messagelabel.Text = ""; AddOrderItemFromListButton.Show(); this.table = table; if (table.order != null) { orderId = table.order.OrderID; } ChoosePanel(panel); CreateLabel.Text = "Table number " + table.tableId.ToString() + " currently has no running order!"; }