private void storageButton_Click(object sender, EventArgs e) { DecompositionStorageForm storage = new DecompositionStorageForm(); // sending current value storage.IsStorePredicted = this.isStorePredicted; storage.IsStoreResidual = this.isStoreResidual; storage.IsStoreTrend = this.isStoreTrend; storage.IsStoreDetrend = this.isStoreDetrend; storage.IsStoreDeseasonal = this.isStoreDeseasonal; storage.PredictedName = this.predictedName; storage.ResidualName = this.residualName; storage.TrendName = this.trendName; storage.DetrendName = this.detrendName; storage.DeseasonalName = this.deseasonalName; storage.ShowDialog(); if (storage.DialogResult == DialogResult.OK) { //accepting selected value this.isStorePredicted = storage.IsStorePredicted; this.isStoreResidual = storage.IsStoreResidual; this.isStoreTrend = storage.IsStoreTrend; this.isStoreDetrend = storage.IsStoreDetrend; this.isStoreDeseasonal = storage.IsStoreDeseasonal; this.predictedName = storage.PredictedName; this.residualName = storage.ResidualName; this.trendName = storage.TrendName; this.detrendName = storage.DetrendName; this.deseasonalName = storage.DeseasonalName; } }
private void storageButton_Click(object sender, EventArgs e) { DecompositionStorageForm storage = new DecompositionStorageForm(); // sending current value storage.IsStorePredicted = this.isStorePredicted; storage.IsStoreResidual = this.isStoreResidual; storage.IsStoreTrend = this.isStoreTrend; storage.IsStoreDetrend = this.isStoreDetrend; storage.IsStoreDeseasonal = this.isStoreDeseasonal; storage.PredictedName = this.predictedName; storage.ResidualName = this.residualName; storage.TrendName = this.trendName; storage.DetrendName = this.detrendName; storage.DeseasonalName = this.deseasonalName; storage.ShowDialog(); if (storage.DialogResult == DialogResult.OK) { //accepting selected value this.isStorePredicted = storage.IsStorePredicted; this.isStoreResidual = storage.IsStoreResidual; this.isStoreTrend = storage.IsStoreTrend; this.isStoreDetrend = storage.IsStoreDetrend; this.isStoreDeseasonal = storage.IsStoreDeseasonal; this.predictedName = storage.PredictedName; this.residualName = storage.ResidualName; this.trendName = storage.TrendName; this.detrendName = storage.DetrendName; this.deseasonalName = storage.DeseasonalName; } }