protected void Page_PreInit(object sender, EventArgs e)
    {
        c = new RoleCommonOfBackend(this.Context, this.ViewState);
        c.InitialLoggerOfUI(this.GetType());

        empAuth = new EmployeeAuthorityLogic(c);
        empAuth.InitialAuthorizationResultOfSubPages();
    }
    protected void Page_PreInit(object sender, EventArgs e)
    {
        c = new RoleCommonOfBackend(this.Context, this.ViewState);
        c.InitialLoggerOfUI(this.GetType());
        c.SelectMenuItemToThisPage();

        empAuth = new EmployeeAuthorityLogic(c);
        empAuth.InitialAuthorizationResultOfTopPage();

        hud           = Master.GetHeadUpDisplay();
        isBackendPage = true;
    }
Exemple #3
0
 /// <summary>
 /// 暫存身分的權限
 /// </summary>
 public TemporarilyStoreRolePrivilege(HttpContext context)
     : base(context)
 {
     c = new RoleCommonOfBackend(context, null);
     c.InitialLoggerOfUI(this.GetType());
 }