Changeset 15477 for branches/EnhancedProgress/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression
- Timestamp:
- 11/16/17 10:30:21 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/EnhancedProgress/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionVariableImpactsView.cs
r14826 r15477 24 24 using HeuristicLab.Data; 25 25 using HeuristicLab.MainForm; 26 using HeuristicLab.Problems.DataAnalysis.Symbolic.Regression;27 26 28 27 namespace HeuristicLab.Problems.DataAnalysis.Views { … … 80 79 || factorVarReplComboBox.SelectedIndex < 0 81 80 || dataPartitionComboBox.SelectedIndex < 0) return; 82 var mainForm = (MainForm.WindowsForms.MainForm)MainFormManager.MainForm;83 81 variableImactsArrayView.Caption = Content.Name + " Variable Impacts"; 84 82 var replMethod = … … 93 91 Task.Factory.StartNew(() => { 94 92 try { 95 mainForm.AddOperationProgressToView(this, "Calculating variable impacts for " + Content.Name);93 Progress.ShowMarquee(this, "Calculating variable impacts for " + Content.Name); 96 94 97 95 var impacts = RegressionSolutionVariableImpactsCalculator.CalculateImpacts(Content, dataPartition, replMethod, factorReplMethod); … … 100 98 variableImactsArrayView.Content = (DoubleArray)impactArray.AsReadOnly(); 101 99 } finally { 102 mainForm.RemoveOperationProgressFromView(this);100 Progress.Hide(this); 103 101 } 104 102 });
Note: See TracChangeset
for help on using the changeset viewer.