Changeset 660 for trunk/sources/HeuristicLab.OptimizationFrontend
- Timestamp:
- 10/15/08 00:04:27 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.OptimizationFrontend/MainForm.cs
r640 r660 30 30 using HeuristicLab.PluginInfrastructure; 31 31 using HeuristicLab.Core; 32 using System.IO; 32 33 33 34 namespace HeuristicLab.OptimizationFrontend { … … 143 144 private void AsynchronousLoad(object state) { 144 145 Task task = (Task)state; 145 task.storable = PersistenceManager.Load(task.filename); 146 try { 147 task.storable = PersistenceManager.Load(task.filename); 148 } catch(FileNotFoundException ex) { 149 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.", 150 "Reader Error", MessageBoxButtons.OK, MessageBoxIcon.Error); 151 } 146 152 LoadFinished(task); 147 153 }
Note: See TracChangeset
for help on using the changeset viewer.