- Timestamp:
- 06/28/13 10:44:51 (11 years ago)
- Location:
- trunk/sources/HeuristicLab.Data.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleValueView.Designer.cs
r9456 r9664 124 124 #endregion 125 125 126 pr ivateSystem.Windows.Forms.TextBox valueTextBox;127 pr ivateSystem.Windows.Forms.ErrorProvider errorProvider;128 pr ivateSystem.Windows.Forms.Label valueLabel;129 pr ivateSystem.Windows.Forms.SplitContainer splitContainer;126 protected System.Windows.Forms.TextBox valueTextBox; 127 protected System.Windows.Forms.ErrorProvider errorProvider; 128 protected System.Windows.Forms.Label valueLabel; 129 protected System.Windows.Forms.SplitContainer splitContainer; 130 130 } 131 131 } -
trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleValueView.cs
r9456 r9664 78 78 } 79 79 80 pr ivatevoid Content_ValueChanged(object sender, EventArgs e) {80 protected virtual void Content_ValueChanged(object sender, EventArgs e) { 81 81 if (InvokeRequired) 82 82 Invoke(new EventHandler(Content_ValueChanged), sender, e); … … 85 85 } 86 86 87 pr ivatevoid valueTextBox_KeyDown(object sender, KeyEventArgs e) {87 protected virtual void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 88 88 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) 89 89 valueLabel.Select(); // select label to validate data … … 94 94 } 95 95 } 96 pr ivatevoid valueTextBox_Validating(object sender, CancelEventArgs e) {96 protected virtual void valueTextBox_Validating(object sender, CancelEventArgs e) { 97 97 if (ReadOnly) return; 98 98 string errorMessage; … … 103 103 } 104 104 } 105 pr ivatevoid valueTextBox_Validated(object sender, EventArgs e) {105 protected virtual void valueTextBox_Validated(object sender, EventArgs e) { 106 106 if (ReadOnly) return; 107 107 if (!Content.ReadOnly) Content.SetValue(valueTextBox.Text);
Note: See TracChangeset
for help on using the changeset viewer.