Changeset 15913 for branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
- Timestamp:
- 04/20/18 11:52:33 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
r15642 r15913 482 482 } 483 483 484 //private void updateButton_Click(object sender, EventArgs e) {485 // var task = System.Threading.Tasks.Task.Factory.StartNew(UpdateJobAsync, Content);486 // task.ContinueWith((t) => {487 // Content.Progress.Finish();488 // MessageBox.Show("An error occured updating the job. See the log for more information.", "HeuristicLab Hive Job Manager", MessageBoxButtons.OK, MessageBoxIcon.Error);489 // Content.Log.LogException(t.Exception);490 // }, TaskContinuationOptions.OnlyOnFaulted);491 //}492 493 //private void UpdateJobAsync(object job) {494 // Content.Progress.Start("Updating job...");495 // HiveClient.UpdateJob((RefreshableJob)job);496 // Content.Progress.Finish();497 //}498 499 484 private void UnloadButton_Click(object sender, EventArgs e) { 500 485 Content.Unload();
Note: See TracChangeset
for help on using the changeset viewer.