Changeset 7029 for trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
- Timestamp:
- 11/21/11 20:33:50 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
r6976 r7029 302 302 private void Content_ExceptionOccured(object sender, EventArgs<Exception> e) { 303 303 // don't show exception, it is logged anyway 304 throw e.Value; 304 305 } 305 306 private void Content_StateLogListChanged(object sender, EventArgs e) { … … 375 376 376 377 private void refreshPermissionsButton_Click(object sender, EventArgs e) { 377 hiveExperimentPermissionListView.Content = HiveClient.GetJobPermissions(this.Content.Job.Id); 378 if (this.Content.Job.Id == Guid.Empty) { 379 MessageBox.Show("You have to upload the Job first before you can share it.", "HeuristicLab Hive Job Manager", MessageBoxButtons.OK, MessageBoxIcon.Information); 380 } else { 381 hiveExperimentPermissionListView.Content = HiveClient.GetJobPermissions(this.Content.Job.Id); 382 } 378 383 } 379 384
Note: See TracChangeset
for help on using the changeset viewer.