Changeset 8198 for trunk/sources
- Timestamp:
- 07/03/12 14:50:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.Views/3.3/ProblemInstanceProviderViewGeneric.cs
r8197 r8198 26 26 using HeuristicLab.MainForm; 27 27 using HeuristicLab.MainForm.WindowsForms; 28 using HeuristicLab.PluginInfrastructure; 28 29 29 30 namespace HeuristicLab.Problems.Instances.Views { … … 90 91 var descriptor = (IDataDescriptor)instancesComboBox.SelectedItem; 91 92 T instance = Content.LoadData(descriptor); 92 GenericConsumer.Load(instance); 93 try { 94 GenericConsumer.Load(instance); 95 } 96 catch (Exception ex) { 97 ErrorHandling.ShowErrorDialog(String.Format("This problem does not support loading the instance {0}: {1}", descriptor.Name, Environment.NewLine + ex.Message), ex); 98 } 93 99 } 94 100 }
Note: See TracChangeset
for help on using the changeset viewer.