Ejemplo n.º 1
0
    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();
    }
Ejemplo n.º 2
0
    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;
    }
Ejemplo n.º 3
0
 /// <summary>
 /// 暫存身分的權限
 /// </summary>
 public TemporarilyStoreRolePrivilege(HttpContext context)
     : base(context)
 {
     c = new RoleCommonOfBackend(context, null);
     c.InitialLoggerOfUI(this.GetType());
 }