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(); }
private bool Check_ReprintReceiptPermission(bool isSwitch) { UserAuthorizationFunction userAuthorizationFunction = new UserAuthorizationFunction(CurrentUserAuthlist); return(userAuthorizationFunction.IsVerifiedAuthorization("REPRINTOR")); }