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

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

            breakfast.Show();
            this.Hide();
        }
Exemplo 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();
            }
        }
Exemplo 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();
        }