Changeset 5275 for branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.Views/3.3/Symbolic/Symbols/ConstantView.cs
- Timestamp:
- 01/11/11 15:03:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.Views/3.3/Symbolic/Symbols/ConstantView.cs
r4068 r5275 58 58 base.SetEnabledStateOfControls(); 59 59 minValueTextBox.Enabled = Content != null; 60 minValueTextBox.ReadOnly = ReadOnly; 60 61 maxValueTextBox.Enabled = Content != null; 61 valueChangeNuTextBox.Enabled = Content != null; 62 maxValueTextBox.ReadOnly = ReadOnly; 63 valueChangeMuTextBox.Enabled = Content != null; 64 valueChangeMuTextBox.ReadOnly = ReadOnly; 62 65 valueChangeSigmaTextBox.Enabled = Content != null; 66 valueChangeSigmaTextBox.ReadOnly = ReadOnly; 63 67 } 64 68 … … 89 93 } 90 94 91 private void valueChange NuTextBox_TextChanged(object sender, EventArgs e) {95 private void valueChangeMuTextBox_TextChanged(object sender, EventArgs e) { 92 96 double nu; 93 if (double.TryParse(valueChange NuTextBox.Text, out nu)) {94 Content.Manipulator Nu = nu;95 errorProvider.SetError(valueChange NuTextBox, string.Empty);97 if (double.TryParse(valueChangeMuTextBox.Text, out nu)) { 98 Content.ManipulatorMu = nu; 99 errorProvider.SetError(valueChangeMuTextBox, string.Empty); 96 100 } else { 97 errorProvider.SetError(valueChange NuTextBox, "Invalid value");101 errorProvider.SetError(valueChangeMuTextBox, "Invalid value"); 98 102 } 99 103 } … … 120 124 minValueTextBox.Text = Content.MinValue.ToString(); 121 125 maxValueTextBox.Text = Content.MaxValue.ToString(); 122 valueChange NuTextBox.Text = Content.ManipulatorNu.ToString();126 valueChangeMuTextBox.Text = Content.ManipulatorMu.ToString(); 123 127 valueChangeSigmaTextBox.Text = Content.ManipulatorSigma.ToString(); 124 128 }
Note: See TracChangeset
for help on using the changeset viewer.