Changeset 15477 for branches/EnhancedProgress/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.cs
- Timestamp:
- 11/16/17 10:30:21 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/EnhancedProgress/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.cs
r14185 r15477 109 109 110 110 task.ContinueWith((t) => { 111 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(this);111 Progress.Hide(this); 112 112 ErrorHandling.ShowErrorDialog("An error occured while deleting the job. ", t.Exception); 113 113 }, TaskContinuationOptions.OnlyOnFaulted); … … 120 120 121 121 private void DeleteHiveJobsAsync(object items) { 122 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().AddOperationProgressToView(this, "Deleting job...");122 Progress.ShowMarquee(this, "Deleting job..."); 123 123 foreach (RefreshableJob item in (List<RefreshableJob>)items) { 124 124 Content.Remove(item); 125 125 } 126 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(this);126 Progress.Hide(this); 127 127 } 128 128
Note: See TracChangeset
for help on using the changeset viewer.