Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/29/10 13:57:05 (14 years ago)
Author:
gkronber
Message:

Renamed "nu" => "mu". #1302

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/Symbolic/Symbols/VariableView.cs

    r4435 r4989  
    5757    protected override void SetEnabledStateOfControls() {
    5858      base.SetEnabledStateOfControls();
    59       weightNuTextBox.Enabled = Content != null;
    60       weightNuTextBox.ReadOnly = ReadOnly;
     59      weightMuTextBox.Enabled = Content != null;
     60      weightMuTextBox.ReadOnly = ReadOnly;
    6161      weightSigmaTextBox.Enabled = Content != null;
    6262      weightSigmaTextBox.ReadOnly = ReadOnly;
    63       weightChangeNuTextBox.Enabled = Content != null;
    64       weightChangeNuTextBox.ReadOnly = ReadOnly;
     63      weightChangeMuTextBox.Enabled = Content != null;
     64      weightChangeMuTextBox.ReadOnly = ReadOnly;
    6565      weightChangeSigmaTextBox.Enabled = Content != null;
    6666      weightChangeSigmaTextBox.ReadOnly = ReadOnly;
     
    7676    private void weightNuTextBox_TextChanged(object sender, EventArgs e) {
    7777      double nu;
    78       if (double.TryParse(weightNuTextBox.Text, out nu)) {
    79         Content.WeightNu = nu;
    80         errorProvider.SetError(weightNuTextBox, string.Empty);
     78      if (double.TryParse(weightMuTextBox.Text, out nu)) {
     79        Content.WeightMu = nu;
     80        errorProvider.SetError(weightMuTextBox, string.Empty);
    8181      } else {
    82         errorProvider.SetError(weightNuTextBox, "Invalid value");
     82        errorProvider.SetError(weightMuTextBox, "Invalid value");
    8383      }
    8484    }
     
    9595    private void weightChangeNuTextBox_TextChanged(object sender, EventArgs e) {
    9696      double nu;
    97       if (double.TryParse(weightChangeNuTextBox.Text, out nu)) {
    98         Content.WeightManipulatorNu = nu;
    99         errorProvider.SetError(weightChangeNuTextBox, string.Empty);
     97      if (double.TryParse(weightChangeMuTextBox.Text, out nu)) {
     98        Content.WeightManipulatorMu = nu;
     99        errorProvider.SetError(weightChangeMuTextBox, string.Empty);
    100100      } else {
    101         errorProvider.SetError(weightChangeNuTextBox, "Invalid value");
     101        errorProvider.SetError(weightChangeMuTextBox, "Invalid value");
    102102      }
    103103    }
     
    117117    private void UpdateControl() {
    118118      if (Content == null) {
    119         weightNuTextBox.Text = string.Empty;
     119        weightMuTextBox.Text = string.Empty;
    120120        weightSigmaTextBox.Text = string.Empty;
    121         weightNuTextBox.Text = string.Empty;
     121        weightMuTextBox.Text = string.Empty;
    122122        weightChangeSigmaTextBox.Text = string.Empty;
    123123      } else {
    124         weightNuTextBox.Text = Content.WeightNu.ToString();
     124        weightMuTextBox.Text = Content.WeightMu.ToString();
    125125        weightSigmaTextBox.Text = Content.WeightSigma.ToString();
    126         weightChangeNuTextBox.Text = Content.WeightManipulatorNu.ToString();
     126        weightChangeMuTextBox.Text = Content.WeightManipulatorMu.ToString();
    127127        weightChangeSigmaTextBox.Text = Content.WeightManipulatorSigma.ToString();
    128128      }
Note: See TracChangeset for help on using the changeset viewer.