Changeset 8585 for branches/HeuristicLab.Mono/HeuristicLab.Data.Views/3.3/StringConvertibleValueView.cs
- Timestamp:
- 09/06/12 09:52:52 (12 years ago)
- Location:
- branches/HeuristicLab.Mono
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Mono
-
branches/HeuristicLab.Mono/HeuristicLab.Data.Views/3.3/StringConvertibleValueView.cs
r7259 r8585 95 95 } 96 96 private void valueTextBox_Validating(object sender, CancelEventArgs e) { 97 if (ReadOnly) return; 97 98 string errorMessage; 98 99 if (!Content.Validate(valueTextBox.Text, out errorMessage)) { … … 103 104 } 104 105 private void valueTextBox_Validated(object sender, EventArgs e) { 106 if (ReadOnly) return; 105 107 if (!Content.ReadOnly) Content.SetValue(valueTextBox.Text); 106 108 errorProvider.SetError(valueTextBox, string.Empty);
Note: See TracChangeset
for help on using the changeset viewer.