Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 10894
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views merged: 10894
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/SymbolicRegressionSolutionView.cs
r9456 r10919 43 43 view.Show(); 44 44 } 45 46 private void exportButton_Click(object sender, EventArgs e) { 47 var exporter = new SymbolicSolutionExcelExporter(); 48 exportFileDialog.Filter = exporter.FileTypeFilter; 49 if (exportFileDialog.ShowDialog(this) == DialogResult.OK) { 50 51 var name = exportFileDialog.FileName; 52 using (BackgroundWorker bg = new BackgroundWorker()) { 53 MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>().AddOperationProgressToView(this, "Exporting solution to " + name + "."); 54 bg.DoWork += (o, a) => exporter.Export(Content, name); 55 bg.RunWorkerCompleted += (o, a) => MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(this); 56 bg.RunWorkerAsync(); 57 } 58 } 59 } 45 60 } 46 61 }
Note: See TracChangeset
for help on using the changeset viewer.