Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Account LoginUser = Session[SessionKeys.LOGININFO] as Account;
            AgePieChartIndexPresenter agePieChartIndexPresenter =
                new AgePieChartIndexPresenter(this, LoginUser);

            agePieChartIndexPresenter.InitPresent(IsPostBack);
            agePieChartIndexPresenter.StatisticsEmployee(null, null);
        }
Esempio n. 2
0
        override protected void OnInit(EventArgs e)
        {
            base.OnInit(e);
            Account LoginUser = Session[SessionKeys.LOGININFO] as Account;
            AgePieChartIndexPresenter agePieChartIndexPresenter =
                new AgePieChartIndexPresenter(this, LoginUser);

            agePieChartIndexPresenter.InitPresent(false);
        }