Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/16/11 20:19:53 (13 years ago)
Author:
ascheibe
Message:

#1233 implemented Experiment Manager review comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.3/Views/RefreshableHiveExperimentView.cs

    r6743 r6791  
    4040  [View("Hive Experiment View")]
    4141  [Content(typeof(RefreshableJob), true)]
    42   public sealed partial class RefreshableHiveExperimentView : ItemView {
     42  public partial class RefreshableHiveExperimentView : HeuristicLab.Core.Views.ItemView {
    4343    private ProgressView progressView;
    4444
     
    8787      Content.Job.PropertyChanged += new PropertyChangedEventHandler(HiveExperiment_PropertyChanged);
    8888    }
    89    
     89
    9090    private void DeregisterHiveExperimentEvents() {
    9191      Content.Job.PropertyChanged -= new PropertyChangedEventHandler(HiveExperiment_PropertyChanged);
     
    253253      else {
    254254        if (Content != null) {
    255           jobsTextBox.Text = Content.Job.JobCount.ToString();
     255          jobsTextBox.Text = (Content.Job.JobCount - Content.Job.CalculatingCount - Content.Job.FinishedCount).ToString();
    256256          calculatingTextBox.Text = Content.Job.CalculatingCount.ToString();
    257257          finishedTextBox.Text = Content.Job.FinishedCount.ToString();
     
    291291
    292292    private void HiveExperiment_PropertyChanged(object sender, PropertyChangedEventArgs e) {
    293       if(this.Content != null && e.PropertyName == "Id") this.hiveExperimentPermissionListView.HiveExperimentId = this.Content.Job.Id;
     293      if (this.Content != null && e.PropertyName == "Id") this.hiveExperimentPermissionListView.HiveExperimentId = this.Content.Job.Id;
    294294    }
    295295    #endregion
     
    413413
    414414    private void tabControl_SelectedIndexChanged(object sender, EventArgs e) {
    415       if (tabControl.SelectedTab == sharingTabPage) {
     415      if (tabControl.SelectedTab == permissionTabPage) {
    416416        if (!Content.IsSharable) {
    417417          MessageBox.Show("Unable to load tab. You have insufficient access privileges.");
    418           tabControl.SelectedTab = jobsTabPage;
     418          tabControl.SelectedTab = tasksTabPage;
    419419        }
    420420      }
Note: See TracChangeset for help on using the changeset viewer.