Exemple #1
0
        public void LoadDashBoard()
        {
            if (_mforecast.StatusEnum == ForecastStatusEnum.CLOSED)
            {
                this._currentCtr = new DashboardForm(_mforecast);

                lblColapse.Visible = false;
                lblExpand.Visible = true;
                splitContainer2.Panel2Collapsed = true;
                LoadCurrentCtr();
            }
        }
Exemple #2
0
 public void LoadForecastResult()
 {
     this._currentCtr = new CalculateForm(_mforecast);
     LoadCurrentCtr();
 }
Exemple #3
0
 private void butNext_Click(object sender, EventArgs e)
 {
     if (_currentCtr.DoSomthingBeforeUnload())
     {
         _currentCtr = GetMorbidityControl(_nextCtr);
         LoadCurrentCtr();
     }
 }
Exemple #4
0
        private void InitNavigation()
        {
            if (_mforecast.StatusEnum == ForecastStatusEnum.CLOSED)
            {
                LoadDashBoard();
            }
            else
                this._currentCtr = new SiteSelection(_mforecast, _artSites);

            LoadCurrentCtr();
        }
Exemple #5
0
 private void butGohome_Click(object sender, EventArgs e)
 {
     if (_currentCtr.DoSomthingBeforeUnload())
     {
         this._currentCtr = new SiteSelection(_mforecast, _artSites);
         LoadCurrentCtr();
     }
 }