Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/22/18 12:37:04 (6 years ago)
Author:
pfleck
Message:

#2845 Combined separate Show methods into single one with enum parameter specifying the ProgressMode. Renamed Continuous and Marquee to Determinate and Indeterminate.

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  
    9999          rJob.Job.ResourceIds = hiveResourceSelectorDialog.SelectedResources.Select(x => x.Id).ToList();
    100100
    101           progress = Progress.ShowMarquee(this.content, "Uploading to Hive...");
     101          progress = Progress.Show(this.content, "Uploading to Hive...", ProgressMode.Indeterminate);
    102102          rJob.Progress = progress;
    103103          progress.ProgressStateChanged += progress_ProgressStateChanged;
  • branches/2845_EnhancedProgress/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelectorDialog.cs

    r16312 r16317  
    9696      if (InvokeRequired) Invoke((Action<object, EventArgs>)HiveClient_Instance_Refreshing, sender, e);
    9797      else {
    98         Progress.ShowMarquee(this, "Refreshing");
     98        Progress.ShowOnControl(this, "Refreshing", ProgressMode.Indeterminate);
    9999        refreshButton.Enabled = false;
    100100      }
     
    104104      if (InvokeRequired) Invoke((Action<object, EventArgs>)HiveClient_Instance_Refreshed, sender, e);
    105105      else {
    106         Progress.Hide(this);
     106        Progress.HideFromControl(this);
    107107        refreshButton.Enabled = true;
    108108      }
  • branches/2845_EnhancedProgress/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.cs

    r16312 r16317  
    131131
    132132    private void DeleteHiveJobsAsync(object items) {
    133       Progress.ShowMarquee(this, "Deleting job...");
     133      Progress.Show(this, "Deleting job...", ProgressMode.Indeterminate);
    134134      foreach (RefreshableJob item in (List<RefreshableJob>)items) {
    135135        Content.Remove(item);
  • branches/2845_EnhancedProgress/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs

    r16314 r16317  
    493493
    494494    private void PauseJobAsync(object job) {
    495       Content.Progress.StartMarquee("Pausing job...");
     495      Content.Progress.Start("Pausing job...", ProgressMode.Indeterminate);
    496496      HiveClient.PauseJob((RefreshableJob)job);
    497497      Content.Progress.Finish();
     
    499499
    500500    private void StopJobAsync(object job) {
    501       Content.Progress.StartMarquee("Stopping job...");
     501      Content.Progress.Start("Stopping job...", ProgressMode.Indeterminate);
    502502      HiveClient.StopJob((RefreshableJob)job);
    503503      Content.Progress.Finish();
     
    505505
    506506    private void ResumeJobAsync(object job) {
    507       Content.Progress.StartMarquee("Resuming job...");
     507      Content.Progress.Start("Resuming job...", ProgressMode.Indeterminate);
    508508      HiveClient.ResumeJob((RefreshableJob)job);
    509509      Content.Progress.Finish();
Note: See TracChangeset for help on using the changeset viewer.