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

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