Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/28/12 18:49:22 (12 years ago)
Author:
ascheibe
Message:

#1762 Removed IProgressReporter and changed the Hive Job Manager accordingly.

Location:
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelector.cs

    r8145 r8156  
    6969      imageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.MonitorLarge);
    7070      imageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.NetworkCenterLarge);
    71       progressView = new ProgressView(this);
    7271    }
    7372
     
    7877        currentProgress = new Progress();
    7978        currentProgress.Status = "Downloading resources. Please be patient.";
     79        if (progressView == null) {
     80          progressView = new ProgressView(this);
     81        }
    8082        progressView.Progress = currentProgress;
    8183      }
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs

    r8146 r8156  
    464464        Invoke(new EventHandler(Content_IsProgressingChanged), sender, e);
    465465      } else {
    466         if (Content != null && Content.IsProgressing) {
     466        if (Content != null && Content.Progress != null && Content.IsProgressing) {
    467467          SetProgressView();
    468468        } else {
    469           FinishProgressView();
     469          progressView.Progress = null;
    470470        }
    471471      }
Note: See TracChangeset for help on using the changeset viewer.