Ejemplo n.º 1
0
        public void frmInventory_Load(object sender, EventArgs e)
        {
            UserAuthorizationFunction userAuthorizationFunction = new UserAuthorizationFunction(UserAuthorizationList);

            if (userAuthorizationFunction.IsVerifiedAuthorization("ZREAD"))
            {
                this.Close();
                return;
            }

            fncFullScreen fncfullscreen = new fncFullScreen(this);

            fncfullscreen.ResizeFormsControls();
        }
Ejemplo n.º 2
0
        private bool Check_ReprintReceiptPermission(bool isSwitch)
        {
            UserAuthorizationFunction userAuthorizationFunction = new UserAuthorizationFunction(CurrentUserAuthlist);

            return(userAuthorizationFunction.IsVerifiedAuthorization("REPRINTOR"));
        }