Esempio n. 1
0
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            int count = new IndexViewSummaryPresenter().GetAssessActivityConfirmCount(LoginUser);

            lblCurrentAssessCount.Text = count.ToString();
            if (count == 0)
            {
                imgCurrentAssess.Src = "../../../Pages/image/menupic04gray.jpg";
            }
            else
            {
                imgCurrentAssess.Src = "../../../Pages/image/menupic04.jpg";
            }
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (LoginUser.Id != Account.AdminPkid)
     {
         int count = new IndexViewSummaryPresenter().GetOverWorkConfirmCount(LoginUser);
         lblOverTimeNeedConfirm.Text = count.ToString();
         if (count == 0)
         {
             imgOverTime.Src = "../../../Pages/image/menupic06gray.jpg";
         }
         else
         {
             imgOverTime.Src = "../../../Pages/image/menupic06.jpg";
         }
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (LoginUser.Id != Account.AdminPkid)
     {
         int count = new IndexViewSummaryPresenter().GetTrainApplicationConfirmCount(LoginUser);
         lblTrainApplication.Text = count.ToString();
         if (count == 0)
         {
             imgLeaveRequest.Src = "../../../Pages/image/statpic03gray.jpg";
         }
         else
         {
             imgLeaveRequest.Src = "../../../Pages/image/statpic03.jpg";
         }
     }
 }