Changeset 8469
- Timestamp:
- 08/10/12 16:39:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleValueView.cs
r7259 r8469 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.