Beispiel #1
0
 private void DrinksButton_Click(object sender, EventArgs e)
 {
     DinnerPanel.Hide();
     LunchPanel.Hide();
     DrinksPanel.Show();
     AddOrderItemFromListButton.Show();
 }
Beispiel #2
0
 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!";
 }