Changeset 9222 for trunk/sources/HeuristicLab.Clients.Hive.JobManager
- Timestamp:
- 02/18/13 11:57:55 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs
r9219 r9222 123 123 protected override void OnClosing(FormClosingEventArgs e) { 124 124 if (Content.Jobs.Any(x => x.IsProgressing)) { 125 MessageBox.Show("The Hive Job Manager can only be closed after all down/uploads are finished. ", "HeuristicLab Hive Job Manager", MessageBoxButtons.OK, MessageBoxIcon.Information); 126 e.Cancel = true; 125 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); 126 127 if (result == DialogResult.No) { 128 e.Cancel = true; 129 } 127 130 } else { 128 131 base.OnClosing(e);
Note: See TracChangeset
for help on using the changeset viewer.