Beispiel #1
0
 public DepartmentHistoryFrontPresenter(IDepartmentHistoryInfoView itsView)
 {
     _ItsView = itsView;
     _ItsView.DepartmentHistoryListView.Title            = "组织架构";
     _ItsView.DepartmentHistoryListView.IsShowSearchTime = false;
     _TheBasicPresenter = new DepartmentHistoryListPresenter(itsView.DepartmentHistoryListView);
     SwitchLittleViewPresenter();
     AttachViewEvent();
 }
Beispiel #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Powers.HasAuth(LoginUser.Auths, AuthType.HRMIS, HrmisPowers.A301))
            {
                throw new ApplicationException("没有权限访问");
            }
            DepartmentHistoryListPresenter thePresenter = new DepartmentHistoryListPresenter(DepartmentHistoryListView1);

            thePresenter.InitView(Page.IsPostBack);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            DepartmentHistoryListPresenter thePresenter = new DepartmentHistoryListPresenter(DepartmentHistoryListView1);

            thePresenter.InitView(Page.IsPostBack);
        }