Changeset 663
- Timestamp:
- 10/15/08 00:07:54 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/sources/HeuristicLab.AdvancedOptimizationFrontend/MainForm.cs
r2 r663 31 31 using HeuristicLab.PluginInfrastructure; 32 32 using HeuristicLab.Core; 33 using System.IO; 33 34 34 35 namespace HeuristicLab.AdvancedOptimizationFrontend { … … 140 141 private void AsynchronousLoad(object state) { 141 142 Task task = (Task)state; 142 task.storable = PersistenceManager.Load(task.filename); 143 try { 144 task.storable = PersistenceManager.Load(task.filename); 145 } catch(FileNotFoundException ex) { 146 MessageBox.Show("Sorry couldn't open file \"" + task.filename + "\".\nThe file or plugin \"" + ex.FileName+ "\" is not available.\nPlease make sure you have all necessary plugins installed.", 147 "Reader Error", MessageBoxButtons.OK, MessageBoxIcon.Error); 148 } 143 149 LoadFinished(task); 144 150 }
Note: See TracChangeset
for help on using the changeset viewer.