コード例 #1
0
        /// <summary>
        /// Shows previous chart.
        /// </summary>
        private void ShowPreviousChart()
        {
            _currentChartNumber--;
            if (_currentChartNumber < 0)
            {
                _currentChartNumber = TableReport.Length - 1;
            }

            CurrentChart.Parent = this;
            CurrentChart.InitChart(TableReport[_currentChartNumber]);
            CurrentChart.Invalidate();
        }
コード例 #2
0
        /// <summary>
        /// Shows next chart.
        /// </summary>
        private void ShowNextChart()
        {
            _currentChartNumber++;
            if (_currentChartNumber >= TableReport.Length)
            {
                _currentChartNumber = 0;
            }

            CurrentChart.Parent = this;
            CurrentChart.InitChart(TableReport[_currentChartNumber]);
            CurrentChart.Invalidate();
        }