Changeset 17062 for stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/SymbolicClassificationSolutionView.cs
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/SymbolicClassificationSolutionView.cs
r15584 r17062 60 60 var name = exportFileDialog.FileName; 61 61 using (BackgroundWorker bg = new BackgroundWorker()) { 62 MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>().AddOperationProgressToView(this, "Exportion solution to " + name + ".");62 Progress.Show(this, "Exportion solution to " + name + ".", ProgressMode.Indeterminate); 63 63 bg.DoWork += (o, a) => exporter.Export(Content, name); 64 bg.RunWorkerCompleted += (o, a) => MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(this);64 bg.RunWorkerCompleted += (o, a) => Progress.Hide(this); 65 65 bg.RunWorkerAsync(); 66 66 }
Note: See TracChangeset
for help on using the changeset viewer.