25 references to F1
System.Windows.Forms (11)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1512
if (((char.IsLetterOrDigit((char)e.KeyCode) && !(e.KeyCode >= Keys.
F1
&& e.KeyCode <= Keys.F24)) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
534
if (((char.IsLetterOrDigit((char)e.KeyCode) && !(e.KeyCode >= Keys.
F1
&& e.KeyCode <= Keys.F24)) ||
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
108
case Keys.
F1
:
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
683
else if ((int)keyCode is >= ((int)Keys.
F1
) and <= ((int)Keys.F24))
System\Windows\Forms\Input\KeysConverter.cs (1)
53
AddKey("F1", Keys.
F1
);
System\Windows\Forms\SendKeys\SendKeys.cs (1)
50
new("F1", Keys.
F1
),
System\Windows\Forms\Shortcut.cs (5)
279
F1 = Keys.
F1
,
335
ShiftF1 = Keys.Shift + Keys.
F1
,
395
CtrlF1 = Keys.Control + Keys.
F1
,
455
CtrlShiftF1 = Keys.Control + Keys.Shift + Keys.
F1
,
570
AltF1 = Keys.Alt + Keys.
F1
,
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
22
Keys.D8, Keys.D9, Keys.Delete, Keys.Down, Keys.E, Keys.End, Keys.F, Keys.
F1
, Keys.F10, Keys.F11,
System.Windows.Forms.Tests (13)
System\Windows\Forms\ControlTests.Methods.cs (3)
4414
yield return new object[] { Keys.
F1
, false };
4444
yield return new object[] { Keys.Control | Keys.
F1
, false };
4474
yield return new object[] { Keys.Alt | Keys.
F1
, false };
System\Windows\Forms\KeysConverterTests.cs (5)
14
[InlineData("Ctrl+Alt+Shift+F1", Keys.Control | Keys.Alt | Keys.Shift | Keys.
F1
)]
63
[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.
F1
, "Ctrl+Alt+Shift+F1")]
93
yield return new object[] { "zh-TW", Keys.Control | Keys.Alt | Keys.Shift | Keys.
F1
, new Enum[] { Keys.Control, Keys.Alt, Keys.Shift, Keys.
F1
} };
147
Keys.Delete, Keys.End, Keys.Enter, Keys.
F1
, Keys.F10, Keys.F11, Keys.F12, Keys.F2, Keys.F3, Keys.F4, Keys.F5, Keys.F6, Keys.F7, Keys.F8,
System\Windows\Forms\TabControlTests.cs (3)
4008
yield return new object[] { Keys.
F1
, false };
4033
yield return new object[] { Keys.Control | Keys.
F1
, false };
4062
yield return new object[] { Keys.Alt | Keys.
F1
, false };
System\Windows\Forms\ToolStripMenuItemTests.cs (2)
124
[InlineData(Keys.
F1
)]
129
[InlineData(Keys.Control | Keys.Alt | Keys.Shift | Keys.
F1
)]