Ejemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            needs.date = "";
            needs.GiveAllTraysSchedle();
            ReserveFood frm = new ReserveFood(needs);

            frm.Show();
        }
Ejemplo n.º 2
0
        public void RunReserve(PictureBox pic)
        {
            needs.date = pic.Name;
            needs.meal = int.Parse(pic.Text);
            needs.GiveAllTraysSchedle();

            ReserveFood frm = new ReserveFood(needs);

            frm.ShowDialog();
        }