Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/25/19 13:39:43 (4 years ago)
Author:
chaider
Message:

#2971 Removed the possibility of declaring open and closed intervals. All intervals are closed intervals now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/IntervalConstraintView.cs

    r16936 r17370  
    6464      lowerboundInput.Enabled = Content != null && !Locked && !ReadOnly;
    6565      upperboundInput.Enabled = Content != null && !Locked && !ReadOnly;
    66       incllowerboundInput.Enabled = Content != null && !Locked && !ReadOnly;
    67       inclupperboundInput.Enabled = Content != null && !Locked && !ReadOnly;
    6866      ischeckedCheckBox.Enabled = Content != null && !Locked && !ReadOnly;
    6967    }
     
    9997        lowerboundInput.Text = string.Empty;
    10098        upperboundInput.Text = string.Empty;
    101         incllowerboundInput.Checked = true;
    102         inclupperboundInput.Checked = true;
    10399        return;
    104100      }
     
    107103      lowerboundInput.Text = Content.Interval.LowerBound.ToString();
    108104      upperboundInput.Text = Content.Interval.UpperBound.ToString();
    109       incllowerboundInput.Checked = Content.InclusiveLowerBound;
    110       inclupperboundInput.Checked = Content.InclusiveUpperBound;
     105
    111106      variableInput.Text = Content.Variable;
    112107      if (!Content.IsDerivation) {
     
    177172    }
    178173
    179     private void incllowerboundInput_CheckedChanged(object sender, EventArgs e) {
    180         Content.InclusiveLowerBound = incllowerboundInput.Checked;
    181     }
    182 
    183     private void inclupperboundInput_CheckedChanged(object sender, EventArgs e) {
    184         Content.InclusiveUpperBound = inclupperboundInput.Checked;
    185     }
    186 
    187174    private void ischeckedCheckBox_CheckedChanged(object sender, EventArgs e) {
    188175        Content.Enabled = ischeckedCheckBox.Checked;
     
    192179      if (numberderivationInput.SelectedItem == null) {
    193180        Content.NumberOfDerivation = 0;
     181        numberderivationInput.Enabled = false;
    194182        return;
    195183      }
Note: See TracChangeset for help on using the changeset viewer.