Changeset 8090
- Timestamp:
- 06/22/12 16:35:32 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.Designer.cs
r7967 r8090 365 365 this.refreshAutomaticallyCheckBox.Text = "&Refresh automatically"; 366 366 this.refreshAutomaticallyCheckBox.UseVisualStyleBackColor = true; 367 this.refreshAutomaticallyCheckBox. Validated += new System.EventHandler(this.refreshAutomaticallyCheckBox_Validated);367 this.refreshAutomaticallyCheckBox.CheckedChanged += new System.EventHandler(this.refreshAutomaticallyCheckBox_CheckedChanged); 368 368 // 369 369 // infoGroupBox -
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
r7910 r8090 416 416 } 417 417 418 private void refreshAutomaticallyCheckBox_ Validated(object sender, EventArgs e) {418 private void refreshAutomaticallyCheckBox_CheckedChanged(object sender, EventArgs e) { 419 419 if (Content != null) Content.RefreshAutomatically = refreshAutomaticallyCheckBox.Checked; 420 420 } -
trunk/sources/HeuristicLab.Clients.Hive/3.3/RefreshableJob.cs
r7782 r8090 519 519 public event EventHandler HiveTasksChanged; 520 520 protected virtual void OnHiveTasksChanged() { 521 if (jobResultPoller != null && jobResultPoller.IsPolling) { 522 jobResultPoller.Stop(); 523 DeregisterResultPollingEvents(); 524 } 521 StopResultPolling(); 525 522 if (this.HiveTasks != null && this.HiveTasks.Count > 0 && this.GetAllHiveTasks().All(x => x.Task.Id != Guid.Empty)) { 526 523 if (IsFinished()) { 527 524 this.ExecutionState = Core.ExecutionState.Stopped; 528 525 this.RefreshAutomatically = false; 529 } 530 531 if (this.RefreshAutomatically) { 532 StartResultPolling(); 526 if (jobResultPoller != null) DeregisterResultPollingEvents(); 527 } else { 528 this.RefreshAutomatically = true; 533 529 } 534 530 }
Note: See TracChangeset
for help on using the changeset viewer.