Esempio 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();
        }
Esempio n. 2
0
        private bool Check_ReprintReceiptPermission(bool isSwitch)
        {
            UserAuthorizationFunction userAuthorizationFunction = new UserAuthorizationFunction(CurrentUserAuthlist);

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