Esempio n. 1
0
        private void button_Drinks_Click(object sender, EventArgs e)
        {
            DrinksKind form = new DrinksKind(ChoosenItems, order);

            form.FormClosed += new FormClosedEventHandler(NewOrder_FormClosed);
            this.Hide();
            form.Show();
        }
Esempio n. 2
0
 void NewOrder_FormClosed(DrinksKind sender)
 {
     ChoosenItems = sender.ChoosenItems;
     this.additems(ChoosenItems);
     this.Show();
 }