- Timestamp:
- 12/12/18 14:23:45 (5 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/2931_OR-Tools_LP_MIP/HeuristicLab.Data.Views/3.3/TextValueView.cs
r16337 r16373 27 27 28 28 namespace HeuristicLab.Data.Views { 29 [View(" StringConvertibleValue View")]30 [Content(typeof(I StringConvertibleValue), true)]31 public partial class StringConvertibleValueView : AsynchronousContentView {29 [View("TextValue View")] 30 [Content(typeof(ITextValue), true)] 31 public partial class TextValueView : AsynchronousContentView { 32 32 public new IStringConvertibleValue Content { 33 33 get { return (IStringConvertibleValue)base.Content; } … … 48 48 } 49 49 50 public StringConvertibleValueView() {50 public TextValueView() { 51 51 InitializeComponent(); 52 52 errorProvider.SetIconAlignment(valueTextBox, ErrorIconAlignment.MiddleLeft); … … 86 86 87 87 protected virtual void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 88 if ( (e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return))88 if (e.Shift && (e.KeyCode == Keys.Enter || e.KeyCode == Keys.Return)) 89 89 valueLabel.Select(); // select label to validate data 90 90
Note: See TracChangeset
for help on using the changeset viewer.