- Timestamp:
- 11/22/18 12:37:04 (6 years ago)
- Location:
- branches/2845_EnhancedProgress/HeuristicLab.Clients.Hive.JobManager/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2845_EnhancedProgress/HeuristicLab.Clients.Hive.JobManager/3.3/MenuItems/RunInHiveMenuItem.cs
r16311 r16317 99 99 rJob.Job.ResourceIds = hiveResourceSelectorDialog.SelectedResources.Select(x => x.Id).ToList(); 100 100 101 progress = Progress.Show Marquee(this.content, "Uploading to Hive...");101 progress = Progress.Show(this.content, "Uploading to Hive...", ProgressMode.Indeterminate); 102 102 rJob.Progress = progress; 103 103 progress.ProgressStateChanged += progress_ProgressStateChanged; -
branches/2845_EnhancedProgress/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelectorDialog.cs
r16312 r16317 96 96 if (InvokeRequired) Invoke((Action<object, EventArgs>)HiveClient_Instance_Refreshing, sender, e); 97 97 else { 98 Progress.Show Marquee(this, "Refreshing");98 Progress.ShowOnControl(this, "Refreshing", ProgressMode.Indeterminate); 99 99 refreshButton.Enabled = false; 100 100 } … … 104 104 if (InvokeRequired) Invoke((Action<object, EventArgs>)HiveClient_Instance_Refreshed, sender, e); 105 105 else { 106 Progress.Hide (this);106 Progress.HideFromControl(this); 107 107 refreshButton.Enabled = true; 108 108 } -
branches/2845_EnhancedProgress/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.cs
r16312 r16317 131 131 132 132 private void DeleteHiveJobsAsync(object items) { 133 Progress.Show Marquee(this, "Deleting job...");133 Progress.Show(this, "Deleting job...", ProgressMode.Indeterminate); 134 134 foreach (RefreshableJob item in (List<RefreshableJob>)items) { 135 135 Content.Remove(item); -
branches/2845_EnhancedProgress/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
r16314 r16317 493 493 494 494 private void PauseJobAsync(object job) { 495 Content.Progress.Start Marquee("Pausing job...");495 Content.Progress.Start("Pausing job...", ProgressMode.Indeterminate); 496 496 HiveClient.PauseJob((RefreshableJob)job); 497 497 Content.Progress.Finish(); … … 499 499 500 500 private void StopJobAsync(object job) { 501 Content.Progress.Start Marquee("Stopping job...");501 Content.Progress.Start("Stopping job...", ProgressMode.Indeterminate); 502 502 HiveClient.StopJob((RefreshableJob)job); 503 503 Content.Progress.Finish(); … … 505 505 506 506 private void ResumeJobAsync(object job) { 507 Content.Progress.Start Marquee("Resuming job...");507 Content.Progress.Start("Resuming job...", ProgressMode.Indeterminate); 508 508 HiveClient.ResumeJob((RefreshableJob)job); 509 509 Content.Progress.Finish();
Note: See TracChangeset
for help on using the changeset viewer.