private void lblBreakfastSwitch_Click(object sender, EventArgs e)
        {
            FrmBreakFastMenu breakFastMenu = new FrmBreakFastMenu(user, level, item, subtotal, itemName, price, quantity, table);

            breakFastMenu.Show();
            this.Hide();
        }
Esempio n. 2
0
        private void lblBreakfast_Click(object sender, EventArgs e)
        {
            FrmBreakFastMenu breakfast = new FrmBreakFastMenu();

            breakfast.Show();
            this.Hide();
        }
Esempio n. 3
0
        private void picboxBreakfast_Click(object sender, EventArgs e)
        {
            if (this.user == "admin")
            {
                FrmBreakFastMenu breakfast = new FrmBreakFastMenu(user);

                breakfast.ShowDialog();
            }
            else
            {
                FrmBreakFastMenu breakfast = new FrmBreakFastMenu();

                breakfast.ShowDialog();
            }
        }
Esempio n. 4
0
        private void picboxBreakfast_Click(object sender, EventArgs e)
        {
            FrmBreakFastMenu breakfast = new FrmBreakFastMenu(user, level, item, subtotal, itemName, price, quantity, table);

            breakfast.ShowDialog();
        }