private void SetMinScenDescription(MinCommercialSegmentDataAccess dataAccess)
        {
            var minScenId      = int.Parse(ddlMinCommSeg.SelectedValue);
            var maxDescription = dataAccess.GetScenarioDescription(minScenId);

            imgMinFleetDescription.ToolTip = maxDescription;
        }
        public void UpdateScenarioStatistics()
        {
            int totalEntries;

            if (ControlScenarioType == ScenarioType.MinCommercialSegment)
            {
                using (var dataAccess = new MinCommercialSegmentDataAccess())
                {
                    totalEntries = dataAccess.CountScenarioEntries(SelectedScenarioId);
                    tbScenarioDescription.Text = dataAccess.GetScenarioDescription(SelectedScenarioId);
                }
            }
            else
            {
                using (var dataAccess = new MaxFleetFactorDataAccess())
                {
                    totalEntries = dataAccess.CountScenarioEntries(SelectedScenarioId);
                    tbScenarioDescription.Text = dataAccess.GetScenarioDescription(SelectedScenarioId);
                }
            }

            lblSummary.Text = string.Format("{0:#,0} entries in Scenario", totalEntries);
        }