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