- Timestamp:
- 07/04/19 14:45:47 (6 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Views
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Problems.DataAnalysis.Views merged: 16356,16389,16430 /trunk/sources/HeuristicLab.Problems.DataAnalysis.Views merged: 15581,15583,15589
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Views/3.4/Classification/ClassificationSolutionVariableImpactsView.cs
r16438 r17062 120 120 121 121 //Prepare arguments 122 var mainForm = (MainForm.WindowsForms.MainForm)MainFormManager.MainForm;123 122 var replMethod = (ClassificationSolutionVariableImpactsCalculator.ReplacementMethodEnum)replacementComboBox.Items[replacementComboBox.SelectedIndex]; 124 123 var factorReplMethod = (ClassificationSolutionVariableImpactsCalculator.FactorReplacementMethodEnum)factorVarReplComboBox.Items[factorVarReplComboBox.SelectedIndex]; … … 126 125 127 126 variableImpactsArrayView.Caption = Content.Name + " Variable Impacts"; 128 progress = mainForm.AddOperationProgressToView(this, "Calculating variable impacts for " + Content.Name); 129 progress.ProgressValue = 0; 130 127 progress = Progress.Show(this, "Calculating variable impacts for " + Content.Name); 131 128 cancellationToken = new CancellationTokenSource(); 132 129 … … 146 143 rawVariableImpacts.AddRange(impacts); 147 144 UpdateOrdering(); 148 } 149 finally { 150 ((MainForm.WindowsForms.MainForm)MainFormManager.MainForm).RemoveOperationProgressFromView(this); 145 } finally { 146 Progress.Hide(this); 151 147 } 152 148 } … … 175 171 if (cancellationToken.Token.IsCancellationRequested) { return null; } 176 172 progress.ProgressValue = (double)++i / count; 177 progress. Status= string.Format("Calculating impact for variable {0} ({1} of {2})", variableName, i, count);173 progress.Message = string.Format("Calculating impact for variable {0} ({1} of {2})", variableName, i, count); 178 174 179 175 double impact = 0;
Note: See TracChangeset
for help on using the changeset viewer.