Changeset 14286
- Timestamp:
- 09/17/16 18:37:34 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/RegressionInstanceProviderView.cs
r14185 r14286 52 52 53 53 try { 54 var progress = mainForm.AddOperationProgressToContent(activeView.Content, "Loading problem instance."); 54 var progress = mainForm.AddOperationProgressToContent(activeView.Content, 55 "Loading problem instance."); 55 56 56 Content.ProgressChanged += (o, args) => { progress.ProgressValue = args.ProgressPercentage / 100.0; }; 57 Content.ProgressChanged += 58 (o, args) => { progress.ProgressValue = args.ProgressPercentage / 100.0; }; 57 59 58 instance = Content.ImportData(importTypeDialog.Path, importTypeDialog.ImportType, importTypeDialog.CSVFormat); 60 instance = Content.ImportData(importTypeDialog.Path, importTypeDialog.ImportType, 61 importTypeDialog.CSVFormat); 59 62 } catch (IOException ex) { 60 63 ErrorWhileParsing(ex); 64 return; 65 } finally { 61 66 mainForm.RemoveOperationProgressFromContent(activeView.Content); 62 return;63 67 } 68 64 69 try { 65 70 GenericConsumer.Load(instance);
Note: See TracChangeset
for help on using the changeset viewer.