Esempio n. 1
0
 private void HideAllPanels()
 {
     Bar_pnlOverzicht.Hide();
     Bar_lblGeenBestellingen.Hide();
     Bar_pnlOpmerkingen.Hide();
     Bar_pnlFirstOrder.Hide();
     Bar_pnlSecondOrder.Hide();
     Bar_pnlThirdOrder.Hide();
     Bar_pnlFourthOrder.Hide();
     Bar_pnlOverflow.Hide();
     Bar_pnlVoorraad.Hide();
 }
Esempio n. 2
0
        private void FillFirstOrder(Order order)
        {
            Bar_lblOpmerkingenContent.Text = order.Comment;
            Bar_pnlOpmerkingen.Show();
            Bar_lvFirstOrder.Clear();
            Bar_lblTafelFirst.Text = $"Tafel: {order.TableId}";

            foreach (Drink drink in order.Drinks)
            {
                Bar_lvFirstOrder.Items.Add(new ListViewItem(drink.Name));
            }

            Bar_pnlFirstOrder.Show();
        }