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); }
protected void Page_Load(object sender, EventArgs e) { AssignAuthInfoPresenter assignAuthInfoPresenter = new AssignAuthInfoPresenter(AssignSEPAuthInfoView1, LoginUser); assignAuthInfoPresenter.InitView(IsPostBack); }