1 write to _keyComboBox
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
127
_keyComboBox
= new ComboBox();
20 references to _keyComboBox
System.Windows.Forms.Design (20)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (20)
88
_keyComboBox
.SelectedIndex = -1;
102
_keyComboBox
.Items.RemoveAt(0);
114
[MemberNotNull(nameof(
_keyComboBox
))]
180
_innerPanel.Controls.Add(
_keyComboBox
, 0, 1);
193
resources.ApplyResources(
_keyComboBox
, "cmbKey");
194
_keyComboBox
.DropDownStyle = ComboBoxStyle.DropDownList;
195
_keyComboBox
.Name = "cmbKey";
199
_keyComboBox
.Margin = new Padding(12, 4, 3, 3);
200
_keyComboBox
.Padding =
_keyComboBox
.Margin;
204
_keyComboBox
.Items.Add(KeysConverter.ConvertToString(keyCode)!);
207
_keyComboBox
.SelectedIndexChanged += OnSelectedIndexChanged;
291
_keyComboBox
.Focus();
305
if (!
_keyComboBox
.Focused ||
307
!
_keyComboBox
.DroppedDown)
334
_keyComboBox
.SelectedIndex = -1;
338
_keyComboBox
.SelectedItem = KeysConverter.ConvertToString(keyCode);
342
_keyComboBox
.Items.Insert(0, SR.ShortcutKeys_InvalidKey);
343
_keyComboBox
.SelectedIndex = 0;
360
int cmbKeySelectedIndex =
_keyComboBox
.SelectedIndex;