Ejemplo n.º 1
0
        private void btnShop_Click(object sender, EventArgs e)
        {
            if (_loggedInEmployee.AccessID != 3)
            {
                MessageBox.Show("You are not authorized.");
            }

            else
            {
                var f = new ShopMenu(_loggedInEmployee);
                f.ShowDialog();
            }
        }