예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Powers.HasAuth(LoginUser.Auths, AuthType.HRMIS, HrmisPowers.A201))
            {
                throw new ApplicationException("没有权限访问");
            }

            AssignAuthInfoPresenter assignAuthInfoPresenter = new AssignAuthInfoPresenter(AssignHrmisAuthInfoView1, LoginUser);

            assignAuthInfoPresenter.InitView(IsPostBack);
        }
예제 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            AssignAuthInfoPresenter assignAuthInfoPresenter = new AssignAuthInfoPresenter(AssignSEPAuthInfoView1, LoginUser);

            assignAuthInfoPresenter.InitView(IsPostBack);
        }