/// <summary>
        /// Constructor
        /// </summary>
        public OverOptimizationChartsForm(OverOptimizationDataTable[] tableReport, List<string> paramNames)
        {
            TableReport = tableReport;

            Text = Language.T("Over-optimization Report");
            Icon = Data.Icon;
            FormBorderStyle = FormBorderStyle.Sizable;
            AcceptButton = BtnClose;

            // Button Next Chart
            BtnNextCharts = new Button {Parent = this, Text = Language.T("Next Chart")};
            BtnNextCharts.Click += BtnNextChartsClick;
            BtnNextCharts.DoubleClick += BtnNextChartsClick;
            BtnNextCharts.MouseWheel += ChartMouseWheel;
            BtnNextCharts.KeyUp += NextChartsKeyUp;
            BtnNextCharts.UseVisualStyleBackColor = true;

            // Button Close
            BtnClose = new Button
                           {
                               Parent = this,
                               Text = Language.T("Close"),
                               DialogResult = DialogResult.Cancel,
                               UseVisualStyleBackColor = true
                           };

            CurrentChart = new OverOptimizationCharts {Parent = this};
            CurrentChart.InitChart(tableReport[_currentChartNumber]);

            ChartLegend = new OverOptimizationChartLegend { Parent = this };
            ChartLegend.InitChart(paramNames);
        }
        /// <summary>
        /// Constructor
        /// </summary>
        public OverOptimizationChartsForm(OverOptimizationDataTable[] tableReport)
        {
            TableReport = tableReport;

            Text            = Language.T("Over-optimization Report");
            Icon            = Data.Icon;
            FormBorderStyle = FormBorderStyle.Sizable;
            AcceptButton    = BtnClose;

            // Button Next Chart
            BtnNextCharts = new Button {
                Parent = this, Text = Language.T("Next Chart")
            };
            BtnNextCharts.Click                  += BtnNextChartsClick;
            BtnNextCharts.DoubleClick            += BtnNextChartsClick;
            BtnNextCharts.MouseWheel             += ChartMouseWheel;
            BtnNextCharts.KeyUp                  += NextChartsKeyUp;
            BtnNextCharts.UseVisualStyleBackColor = true;

            // Button Close
            BtnClose = new Button
            {
                Parent                  = this,
                Text                    = Language.T("Close"),
                DialogResult            = DialogResult.Cancel,
                UseVisualStyleBackColor = true
            };

            CurrentChart = new OverOptimizationCharts {
                Parent = this
            };
            CurrentChart.InitChart(tableReport[_currentChartNumber]);
        }