Example #1
0
        private void label2_Click(object sender, EventArgs e)
        {
            int phanquyen = DangNhapModels.DangNhapModelss.GetChucVu();

            if (phanquyen != 2 || phanquyen != 3)
            {
                a.LabelClick(sender);
                ThemSP_uc ThemSanPham = new ThemSP_uc();
                form.changeUC(ThemSanPham, pnSanPham);
            }
        }
Example #2
0
        private void panel3_Click(object sender, EventArgs e)
        {
            int phanquyen = DangNhapModels.DangNhapModelss.GetChucVu();

            if (phanquyen != 2 || phanquyen != 3)
            {
                a.ColorClick(sender);
                ThemSP_uc dsSP = new ThemSP_uc();
                form.changeUC(dsSP, pnSanPham);
            }
        }