Changeset 18166 for trunk/HeuristicLab.Clients.OKB.Views/3.3/Query
- Timestamp:
- 12/26/21 20:49:51 (3 years ago)
- Location:
- trunk/HeuristicLab.Clients.OKB.Views/3.3/Query/Views
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/OrdinalComparisonDateTimeFilterView.cs
r17180 r18166 52 52 53 53 private void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 54 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) 54 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) { 55 55 label.Focus(); // set focus on label to validate data 56 if (e.KeyCode == Keys.Escape) { 56 e.SuppressKeyPress = true; 57 } else if (e.KeyCode == Keys.Escape) { 57 58 valueTextBox.Text = Content.Value.ToString(); 58 59 label.Focus(); // set focus on label to validate data 60 e.SuppressKeyPress = true; 59 61 } 60 62 } -
trunk/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/OrdinalComparisonDoubleFilterView.cs
r17180 r18166 51 51 52 52 private void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 53 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) 53 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) { 54 54 label.Focus(); // set focus on label to validate data 55 if (e.KeyCode == Keys.Escape) { 55 e.SuppressKeyPress = true; 56 } else if (e.KeyCode == Keys.Escape) { 56 57 valueTextBox.Text = Content.Value.ToString(); 57 58 label.Focus(); // set focus on label to validate data 59 e.SuppressKeyPress = true; 58 60 } 59 61 } -
trunk/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/OrdinalComparisonFloatFilterView.cs
r17180 r18166 51 51 52 52 private void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 53 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) 53 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) { 54 54 label.Focus(); // set focus on label to validate data 55 if (e.KeyCode == Keys.Escape) { 55 e.SuppressKeyPress = true; 56 } else if (e.KeyCode == Keys.Escape) { 56 57 valueTextBox.Text = Content.Value.ToString(); 57 58 label.Focus(); // set focus on label to validate data 59 e.SuppressKeyPress = true; 58 60 } 59 61 } -
trunk/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/OrdinalComparisonIntFilterView.cs
r17180 r18166 51 51 52 52 private void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 53 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) 53 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) { 54 54 label.Focus(); // set focus on label to validate data 55 if (e.KeyCode == Keys.Escape) { 55 e.SuppressKeyPress = true; 56 } else if (e.KeyCode == Keys.Escape) { 56 57 valueTextBox.Text = Content.Value.ToString(); 57 58 label.Focus(); // set focus on label to validate data 59 e.SuppressKeyPress = true; 58 60 } 59 61 } -
trunk/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/OrdinalComparisonLongFilterView.cs
r17180 r18166 51 51 52 52 private void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 53 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) 53 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) { 54 54 label.Focus(); // set focus on label to validate data 55 if (e.KeyCode == Keys.Escape) { 55 e.SuppressKeyPress = true; 56 } else if (e.KeyCode == Keys.Escape) { 56 57 valueTextBox.Text = Content.Value.ToString(); 57 58 label.Focus(); // set focus on label to validate data 59 e.SuppressKeyPress = true; 58 60 } 59 61 } -
trunk/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/OrdinalComparisonPercentFilterView.cs
r17180 r18166 58 58 59 59 private void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 60 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) 60 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) { 61 61 label.Focus(); // set focus on label to validate data 62 if (e.KeyCode == Keys.Escape) { 62 e.SuppressKeyPress = true; 63 } else if (e.KeyCode == Keys.Escape) { 63 64 valueTextBox.Text = Content.Value.ToString(); 64 65 label.Focus(); // set focus on label to validate data 66 e.SuppressKeyPress = true; 65 67 } 66 68 } -
trunk/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/OrdinalComparisonTimeSpanFilterView.cs
r17180 r18166 59 59 60 60 private void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 61 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) 61 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) { 62 62 label.Focus(); // set focus on label to validate data 63 if (e.KeyCode == Keys.Escape) { 63 e.SuppressKeyPress = true; 64 } else if (e.KeyCode == Keys.Escape) { 64 65 valueTextBox.Text = Content.Value.ToString(); 65 66 label.Focus(); // set focus on label to validate data 67 e.SuppressKeyPress = true; 66 68 } 67 69 } -
trunk/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/StringComparisonAvailableValuesFilterView.cs
r17180 r18166 82 82 83 83 private void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 84 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) 84 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) { 85 85 label.Focus(); // set focus on label to validate data 86 if (e.KeyCode == Keys.Escape) { 86 e.SuppressKeyPress = true; 87 } else if (e.KeyCode == Keys.Escape) { 87 88 valueComboBox.Text = Content.Value; 88 89 label.Focus(); // set focus on label to validate data 90 e.SuppressKeyPress = true; 89 91 } 90 92 } -
trunk/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/StringComparisonFilterView.cs
r17180 r18166 82 82 83 83 private void valueTextBox_KeyDown(object sender, KeyEventArgs e) { 84 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) 84 if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return)) { 85 85 label.Focus(); // set focus on label to validate data 86 if (e.KeyCode == Keys.Escape) { 86 e.SuppressKeyPress = true; 87 } else if (e.KeyCode == Keys.Escape) { 87 88 valueTextBox.Text = Content.Value; 88 89 label.Focus(); // set focus on label to validate data 90 e.SuppressKeyPress = true; 89 91 } 90 92 }
Note: See TracChangeset
for help on using the changeset viewer.