Changeset 15170 for stable/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/RegressionInstanceProviderView.cs
- Timestamp:
- 07/07/17 16:44:47 (7 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14284-14286,14288,14296,14298,14408
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views merged: 14285-14286,14298
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/RegressionInstanceProviderView.cs
r14186 r15170 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); 59 } catch (IOException ex) { 60 instance = Content.ImportData(importTypeDialog.Path, importTypeDialog.ImportType, 61 importTypeDialog.CSVFormat); 62 } catch (Exception 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); 66 } catch ( IOException ex) {71 } catch (Exception ex) { 67 72 ErrorWhileLoading(ex, importTypeDialog.Path); 68 73 } finally {
Note: See TracChangeset
for help on using the changeset viewer.