/// <summary>
        /// Shows next chart.
        /// </summary>
        void ShowNextChart()
        {
            currentChartNumber++;
            if (currentChartNumber >= tableReport.Length)
            {
                currentChartNumber = 0;
            }

            currentChart.Parent = this;
            currentChart.InitChart(tableReport[currentChartNumber]);
            currentChart.Invalidate();
        }
예제 #2
0
        /// <summary>
        /// Opens next chart.
        /// </summary>
        void BtnNextCharts_Click(object sender, EventArgs e)
        {
            currentChartNumber++;
            if (currentChartNumber >= tableReport.Length)
            {
                currentChartNumber = 0;
            }

            currentChart.Parent = this;
            currentChart.InitChart(tableReport[currentChartNumber]);
            currentChart.Invalidate();
        }