27 writes to ShortcutKeys
Accessibility_Core_App (9)
Menu_Toolbars_controls.Designer.cs (9)
167
newToolStripMenuItem.
ShortcutKeys
= Keys.Control | Keys.N;
176
openToolStripMenuItem.
ShortcutKeys
= Keys.Control | Keys.O;
190
saveToolStripMenuItem.
ShortcutKeys
= Keys.Control | Keys.S;
210
printToolStripMenuItem.
ShortcutKeys
= Keys.Control | Keys.P;
244
undoToolStripMenuItem.
ShortcutKeys
= Keys.Control | Keys.Z;
251
redoToolStripMenuItem.
ShortcutKeys
= Keys.Control | Keys.Y;
265
cutToolStripMenuItem.
ShortcutKeys
= Keys.Control | Keys.X;
274
copyToolStripMenuItem.
ShortcutKeys
= Keys.Control | Keys.C;
283
pasteToolStripMenuItem.
ShortcutKeys
= Keys.Control | Keys.V;
DesignSurface (7)
MainForm.Designer.cs (7)
193
this.ToolStripMenuItemUnDo.
ShortcutKeys
= ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
201
this.ToolStripMenuItemReDo.
ShortcutKeys
= ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)));
216
this.ToolStripMenuItemCut.
ShortcutKeys
= ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
226
this.ToolStripMenuItemCopy.
ShortcutKeys
= ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
236
this.ToolStripMenuItemPaste.
ShortcutKeys
= ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
244
this.ToolStripMenuItemDelete.
ShortcutKeys
= System.Windows.Forms.Keys.Delete;
252
this.ToolStripMenuItemKeyInvokeSmartTag.
ShortcutKeys
= System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.F10;
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
105
ShortcutKeys
= shortcutKeys;
524
menuItem.
ShortcutKeys
= ShortcutKeys;
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
70
_system.
ShortcutKeys
= Keys.Alt | Keys.OemMinus;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\StandardMenuStripVerb.cs (1)
162
menuItem.
ShortcutKeys
= shortcut;
System.Windows.Forms.Tests (4)
System\Windows\Forms\ToolStripMenuItemTests.cs (4)
133
item.
ShortcutKeys
= keys;
145
Assert.Throws<InvalidEnumArgumentException>(() => item.
ShortcutKeys
= keys);
158
item.
ShortcutKeys
= Keys.Control | Keys.Shift | Keys.K;
299
ShortcutKeys
= Keys.Control | Keys.A,
WinFormsControlsTest (3)
MenuStripAndCheckedListBox.Designer.cs (3)
97
this.newToolStripMenuItem.
ShortcutKeys
= ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
105
this.openToolStripMenuItem1.
ShortcutKeys
= ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
231
this.uncheckedCheckOnClickToolStripMenuItem.
ShortcutKeys
= ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
12 references to ShortcutKeys
System.Windows.Forms (7)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (6)
368
Keys originalShortcut =
ShortcutKeys
;
524
menuItem.ShortcutKeys =
ShortcutKeys
;
569
Keys shortcut =
ShortcutKeys
;
742
_cachedShortcutText ??= ShortcutToText(
ShortcutKeys
, ShortcutKeyDisplayString);
920
Keys shortcut =
ShortcutKeys
;
1037
if (Enabled &&
ShortcutKeys
== keyData && !HasDropDownItems)
System\Windows\Forms\MDI\MdiControlStrip.SystemMenuItem.cs (1)
18
if (Visible &&
ShortcutKeys
== keyData)
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStripMenuItemTests.cs (5)
89
Assert.Equal(Keys.None, item.
ShortcutKeys
);
134
Assert.Equal(keys, item.
ShortcutKeys
);
236
item.
ShortcutKeys
.Should().Be(shortcutKeys);
344
clone.
ShortcutKeys
.Should().Be(original.
ShortcutKeys
);