39 references to Back
System.Windows.Forms (19)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
2039
if (keyChar == (char)Keys.
Back
)
2939
&& (keyData == (Keys.Control | Keys.
Back
) || keyData == (Keys.Control | Keys.Shift | Keys.
Back
)))
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (6)
1506
Debug.Assert(keyCode is Keys.Delete or Keys.
Back
, $"Delete called with keyCode == {keyCode}");
1516
if (keyCode == Keys.
Back
)
1594
if (keyCode == Keys.
Back
) // Case 3.
1887
keyCode = Keys.
Back
; // handle it below.
1899
if (keyCode is Keys.Delete or Keys.
Back
) // Deletion keys.
1910
keyCode = Keys.
Back
;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (4)
165
(int)Shortcut.CtrlE, (int)Shortcut.CtrlY, (int)Keys.Control + (int)Keys.
Back
,
209
if (!ReadOnly && (keyData == (Keys.Control | Keys.
Back
) || keyData == (Keys.Control | Keys.Shift | Keys.
Back
)))
1341
case Keys.
Back
:
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2764
case Keys.
Back
:
System\Windows\Forms\Input\KeysConverter.cs (1)
62
AddLocalizedKey(nameof(SR.toStringBack), Keys.
Back
);
System\Windows\Forms\SendKeys\SendKeys.cs (3)
40
new("BACKSPACE", Keys.
Back
),
41
new("BKSP", Keys.
Back
),
42
new("BS", Keys.
Back
),
System\Windows\Forms\Shortcut.cs (1)
565
AltBksp = Keys.Alt + Keys.
Back
,
System.Windows.Forms.Tests (20)
System\Windows\Forms\ComboBoxTests.cs (1)
1722
tb.ProcessCmdKey(ref message, Keys.Control | Keys.
Back
);
System\Windows\Forms\ControlTests.Methods.cs (3)
4399
yield return new object[] { Keys.
Back
, false };
4429
yield return new object[] { Keys.Control | Keys.
Back
, false };
4459
yield return new object[] { Keys.Alt | Keys.
Back
, false };
System\Windows\Forms\KeysConverterTests.cs (1)
146
Keys.None, Keys.D0, Keys.D1, Keys.D2, Keys.D3, Keys.D4, Keys.D5, Keys.D6, Keys.D7, Keys.D8, Keys.D9, Keys.Alt, Keys.
Back
, Keys.Control,
System\Windows\Forms\TabControlTests.cs (3)
4002
yield return new object[] { Keys.
Back
, false };
4027
yield return new object[] { Keys.Control | Keys.
Back
, false };
4056
yield return new object[] { Keys.Alt | Keys.
Back
, false };
TextBoxBaseTests.cs (12)
5190
yield return new object[] { multiline, acceptsTab, readOnly, Keys.
Back
| Keys.Alt, false };
5207
[InlineData(true, true, true, Keys.
Back
, false)]
5208
[InlineData(true, true, false, Keys.
Back
, true)]
5238
[InlineData(true, true, true, Keys.
Back
, true)]
5239
[InlineData(true, true, false, Keys.
Back
, true)]
5837
yield return new object[] { shortcutsEnabled, readOnly, Keys.Control | Keys.
Back
, !shortcutsEnabled || !readOnly };
5838
yield return new object[] { shortcutsEnabled, readOnly, Keys.Control | Keys.Shift | Keys.
Back
, !shortcutsEnabled || !readOnly };
5942
Assert.True(control.ProcessCmdKey(ref message, Keys.Control | Keys.
Back
));
5956
Assert.False(control.ProcessCmdKey(ref message, Keys.Control | Keys.
Back
));
5971
Assert.True(control.ProcessCmdKey(ref message, Keys.Control | Keys.
Back
));
5989
Assert.True(control.ProcessCmdKey(ref message, Keys.Control | Keys.
Back
));
6006
Assert.True(control.ProcessCmdKey(ref message, Keys.Control | Keys.
Back
));