Changeset 9225 for trunk/sources/HeuristicLab.Clients.Hive.JobManager
- Timestamp:
- 02/18/13 16:45:53 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.cs
r9223 r9225 28 28 using HeuristicLab.MainForm; 29 29 using HeuristicLab.MainForm.WindowsForms; 30 using HeuristicLab.PluginInfrastructure; 30 31 31 32 namespace HeuristicLab.Clients.Hive.JobManager.Views { … … 114 115 task.ContinueWith((t) => { 115 116 progress.Finish(); 116 MessageBox.Show("An error occured while deleting the job: " + Environment.NewLine + t.Exception, "HeuristicLab Hive Job Manager", MessageBoxButtons.OK, MessageBoxIcon.Error);117 ErrorHandling.ShowErrorDialog("An error occured while deleting the job. ", t.Exception); 117 118 }, TaskContinuationOptions.OnlyOnFaulted); 118 119 119 120 task.ContinueWith((t) => { 120 itemsListView. SelectedItems.Clear();121 itemsListView.Invoke(new Action(() => itemsListView.SelectedItems.Clear())); 121 122 }, TaskContinuationOptions.OnlyOnRanToCompletion); 122 123 }
Note: See TracChangeset
for help on using the changeset viewer.