private void resultButton_Click(object sender, EventArgs e)
        {
            DecompositionSelectResultView result = new DecompositionSelectResultView();

            // sending current value
            result.IsDecModelSummaryChecked       = this.isDecModelSummaryChecked;
            result.IsDecompositionDataGridChecked = this.isDecompositionDataGridChecked;
            result.IsTrendChecked                        = this.isTrendChecked;
            result.IsDetrendChecked                      = this.isDetrendChecked;
            result.IsSeasonalChecked                     = this.isSeasonalChecked;
            result.IsDeseasonalChecked                   = this.isDeseasonalChecked;
            result.IsForecastedDataGridChecked           = this.isForecastedDataGridChecked;
            result.IsActualPredictedAndTrendGraphChecked = this.isActualPredictedAndTrendGraphChecked;
            result.IsActualAndForecastedGraphChecked     = this.isActualAndForecastedGraphChecked;
            result.IsActualVsPredictedGraphChecked       = this.isActualVsPredictedGraphChecked;
            result.IsResidualGraphChecked                = this.isResidualGraphChecked;
            result.IsResidualVsActualGraphChecked        = this.isResidualVsActualGraphChecked;
            result.IsResidualVsPredictedGraphChecked     = this.isResidualVsPredictedGraphChecked;
            result.IsDetrendGraphChecked                 = this.isDetrendGraphChecked;
            result.IsDeseasonalGraphChecked              = this.isDeseasonalGraphChecked;
            result.ForecastingStep                       = this.forecastingStep;

            result.ShowDialog();
            if (result.DialogResult == DialogResult.OK)
            {
                //accepting selected value
                this.isDecModelSummaryChecked       = result.IsDecModelSummaryChecked;
                this.isDecompositionDataGridChecked = result.IsDecompositionDataGridChecked;
                this.isTrendChecked                        = result.IsTrendChecked;
                this.isDetrendChecked                      = result.IsDetrendChecked;
                this.isSeasonalChecked                     = result.IsSeasonalChecked;
                this.isDeseasonalChecked                   = result.IsDeseasonalChecked;
                this.isForecastedDataGridChecked           = result.IsForecastedDataGridChecked;
                this.isActualPredictedAndTrendGraphChecked = result.IsActualPredictedAndTrendGraphChecked;
                this.isActualAndForecastedGraphChecked     = result.IsActualAndForecastedGraphChecked;
                this.isActualVsPredictedGraphChecked       = result.IsActualVsPredictedGraphChecked;
                this.isResidualGraphChecked                = result.IsResidualGraphChecked;
                this.isResidualVsActualGraphChecked        = result.IsResidualVsActualGraphChecked;
                this.isResidualVsPredictedGraphChecked     = result.IsResidualVsPredictedGraphChecked;
                this.isDetrendGraphChecked                 = result.IsDetrendGraphChecked;
                this.isDeseasonalGraphChecked              = result.IsDeseasonalGraphChecked;
                this.forecastingStep                       = result.ForecastingStep;
            }
        }
        private void resultButton_Click(object sender, EventArgs e)
        {
            DecompositionSelectResultView result = new DecompositionSelectResultView();

            // sending current value
            result.IsDecModelSummaryChecked = this.isDecModelSummaryChecked;
            result.IsDecompositionDataGridChecked = this.isDecompositionDataGridChecked;
            result.IsTrendChecked = this.isTrendChecked;
            result.IsDetrendChecked = this.isDetrendChecked;
            result.IsSeasonalChecked = this.isSeasonalChecked;
            result.IsDeseasonalChecked = this.isDeseasonalChecked;
            result.IsForecastedDataGridChecked = this.isForecastedDataGridChecked;
            result.IsActualPredictedAndTrendGraphChecked = this.isActualPredictedAndTrendGraphChecked;
            result.IsActualAndForecastedGraphChecked = this.isActualAndForecastedGraphChecked;
            result.IsActualVsPredictedGraphChecked = this.isActualVsPredictedGraphChecked;
            result.IsResidualGraphChecked = this.isResidualGraphChecked;
            result.IsResidualVsActualGraphChecked = this.isResidualVsActualGraphChecked;
            result.IsResidualVsPredictedGraphChecked = this.isResidualVsPredictedGraphChecked;
            result.IsDetrendGraphChecked = this.isDetrendGraphChecked;
            result.IsDeseasonalGraphChecked = this.isDeseasonalGraphChecked;
            result.ForecastingStep = this.forecastingStep;

            result.ShowDialog();
            if (result.DialogResult == DialogResult.OK)
            {
                //accepting selected value
                this.isDecModelSummaryChecked = result.IsDecModelSummaryChecked;
                this.isDecompositionDataGridChecked = result.IsDecompositionDataGridChecked;
                this.isTrendChecked = result.IsTrendChecked;
                this.isDetrendChecked = result.IsDetrendChecked;
                this.isSeasonalChecked = result.IsSeasonalChecked;
                this.isDeseasonalChecked = result.IsDeseasonalChecked;
                this.isForecastedDataGridChecked = result.IsForecastedDataGridChecked;
                this.isActualPredictedAndTrendGraphChecked = result.IsActualPredictedAndTrendGraphChecked;
                this.isActualAndForecastedGraphChecked = result.IsActualAndForecastedGraphChecked;
                this.isActualVsPredictedGraphChecked = result.IsActualVsPredictedGraphChecked;
                this.isResidualGraphChecked = result.IsResidualGraphChecked;
                this.isResidualVsActualGraphChecked = result.IsResidualVsActualGraphChecked;
                this.isResidualVsPredictedGraphChecked = result.IsResidualVsPredictedGraphChecked;
                this.isDetrendGraphChecked = result.IsDetrendGraphChecked;
                this.isDeseasonalGraphChecked = result.IsDeseasonalGraphChecked;
                this.forecastingStep = result.ForecastingStep;

               }
        }