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