Changeset 9442
- Timestamp:
- 05/06/13 09:12:55 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs
r9230 r9442 119 119 120 120 protected override void OnClosing(FormClosingEventArgs e) { 121 if (Content != null && Content.Jobs .Any(x => x.IsProgressing)) {121 if (Content != null && Content.Jobs != null && Content.Jobs.Any(x => x.IsProgressing)) { 122 122 DialogResult result = MessageBox.Show("There are still unfinished down/uploads. Are you sure you want to close the window?", "HeuristicLab Hive Job Manager", MessageBoxButtons.YesNo, MessageBoxIcon.Question); 123 123 … … 131 131 132 132 protected override void OnClosed(FormClosedEventArgs e) { 133 if (Content != null ) {133 if (Content != null && Content.Jobs != null) { 134 134 Content.ClearHiveClient(); 135 135 Content = null;
Note: See TracChangeset
for help on using the changeset viewer.