示例#1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Account LoginUser = Session[SessionKeys.LOGININFO] as Account;
            ComeAndLeaveIndexPresenter comeAndLeaveIndexPresenter =
                new ComeAndLeaveIndexPresenter(this, LoginUser);

            comeAndLeaveIndexPresenter.InitPresent(IsPostBack);
            comeAndLeaveIndexPresenter.StatisticsEmployee(null, null);
        }
示例#2
0
        override protected void OnInit(EventArgs e)
        {
            base.OnInit(e);
            Account LoginUser = Session[SessionKeys.LOGININFO] as Account;
            ComeAndLeaveIndexPresenter comeAndLeaveIndexPresenter =
                new ComeAndLeaveIndexPresenter(this, LoginUser);

            comeAndLeaveIndexPresenter.InitPresent(false);
        }