- Timestamp:
- 07/04/19 14:45:47 (5 years ago)
- Location:
- stable
- Files:
-
- 4 edited
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 } -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification.Views/3.4/SymbolicDiscriminantFunctionClassificationSolutionView.cs
r15584 r17062 59 59 var name = exportFileDialog.FileName; 60 60 using (BackgroundWorker bg = new BackgroundWorker()) { 61 MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>().AddOperationProgressToView(this, "Exportion solution to " + name + ".");61 Progress.Show(this, "Exportion solution to " + name + ".", ProgressMode.Indeterminate); 62 62 bg.DoWork += (o, a) => exporter.Export(Content, name); 63 bg.RunWorkerCompleted += (o, a) => MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(this);63 bg.RunWorkerCompleted += (o, a) => Progress.Hide(this); 64 64 bg.RunWorkerAsync(); 65 65 }
Note: See TracChangeset
for help on using the changeset viewer.