Exemplo n.º 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();
            }
        }
Exemplo n.º 2
0
 public void LoadForecastResult()
 {
     this._currentCtr = new CalculateForm(_mforecast);
     LoadCurrentCtr();
 }
Exemplo n.º 3
0
 private void butNext_Click(object sender, EventArgs e)
 {
     if (_currentCtr.DoSomthingBeforeUnload())
     {
         _currentCtr = GetMorbidityControl(_nextCtr);
         LoadCurrentCtr();
     }
 }
Exemplo n.º 4
0
        private void InitNavigation()
        {
            if (_mforecast.StatusEnum == ForecastStatusEnum.CLOSED)
            {
                LoadDashBoard();
            }
            else
                this._currentCtr = new SiteSelection(_mforecast, _artSites);

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