Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/11/11 15:03:46 (13 years ago)
Author:
gkronber
Message:

Merged changes from trunk to data analysis exploration branch and added fractional distance metric evaluator. #1142

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.Views/3.3/Symbolic/Symbols/ConstantView.cs

    r4068 r5275  
    5858      base.SetEnabledStateOfControls();
    5959      minValueTextBox.Enabled = Content != null;
     60      minValueTextBox.ReadOnly = ReadOnly;
    6061      maxValueTextBox.Enabled = Content != null;
    61       valueChangeNuTextBox.Enabled = Content != null;
     62      maxValueTextBox.ReadOnly = ReadOnly;
     63      valueChangeMuTextBox.Enabled = Content != null;
     64      valueChangeMuTextBox.ReadOnly = ReadOnly;
    6265      valueChangeSigmaTextBox.Enabled = Content != null;
     66      valueChangeSigmaTextBox.ReadOnly = ReadOnly;
    6367    }
    6468
     
    8993    }
    9094
    91     private void valueChangeNuTextBox_TextChanged(object sender, EventArgs e) {
     95    private void valueChangeMuTextBox_TextChanged(object sender, EventArgs e) {
    9296      double nu;
    93       if (double.TryParse(valueChangeNuTextBox.Text, out nu)) {
    94         Content.ManipulatorNu = nu;
    95         errorProvider.SetError(valueChangeNuTextBox, string.Empty);
     97      if (double.TryParse(valueChangeMuTextBox.Text, out nu)) {
     98        Content.ManipulatorMu = nu;
     99        errorProvider.SetError(valueChangeMuTextBox, string.Empty);
    96100      } else {
    97         errorProvider.SetError(valueChangeNuTextBox, "Invalid value");
     101        errorProvider.SetError(valueChangeMuTextBox, "Invalid value");
    98102      }
    99103    }
     
    120124        minValueTextBox.Text = Content.MinValue.ToString();
    121125        maxValueTextBox.Text = Content.MaxValue.ToString();
    122         valueChangeNuTextBox.Text = Content.ManipulatorNu.ToString();
     126        valueChangeMuTextBox.Text = Content.ManipulatorMu.ToString();
    123127        valueChangeSigmaTextBox.Text = Content.ManipulatorSigma.ToString();
    124128      }
Note: See TracChangeset for help on using the changeset viewer.