コード例 #1
0
        private void lblBreakfastSwitch_Click(object sender, EventArgs e)
        {
            FrmBreakFastMenu breakFastMenu = new FrmBreakFastMenu(user, level, item, subtotal, itemName, price, quantity, table);

            breakFastMenu.Show();
            this.Hide();
        }
コード例 #2
0
        private void lblBreakfast_Click(object sender, EventArgs e)
        {
            FrmBreakFastMenu breakfast = new FrmBreakFastMenu();

            breakfast.Show();
            this.Hide();
        }
コード例 #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();
            }
        }
コード例 #4
0
        private void picboxBreakfast_Click(object sender, EventArgs e)
        {
            FrmBreakFastMenu breakfast = new FrmBreakFastMenu(user, level, item, subtotal, itemName, price, quantity, table);

            breakfast.ShowDialog();
        }