15 references to Shortcuts
System.Windows.Forms (15)
winforms\Managed\System\WinForms\ToolStripManager.cs (5)
1518if ((t != null) && t.Shortcuts.Contains(shortcut)) { 1569if (activeControlInChain.ContextMenuStrip.Shortcuts.ContainsKey(shortcut)) { 1570ToolStripMenuItem item = activeControlInChain.ContextMenuStrip.Shortcuts[shortcut] as ToolStripMenuItem; 1604else if (toolStrip.Shortcuts.ContainsKey(shortcut)) { 1661ToolStripMenuItem item = toolStrip.Shortcuts[shortcut] as ToolStripMenuItem;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (10)
491owner.Shortcuts.Remove(originalShortcut); 493if (owner.Shortcuts.Contains(value)) { 495owner.Shortcuts[value] = this; 498owner.Shortcuts.Add(value, this); 689if (shortcut != Keys.None && lastOwner.Shortcuts.ContainsKey(shortcut)) { 690lastOwner.Shortcuts.Remove(shortcut); 1033lastOwner.Shortcuts.Remove(shortcut); 1037if (Owner.Shortcuts.Contains(shortcut)) { 1039Owner.Shortcuts[shortcut] = this; 1042Owner.Shortcuts.Add(shortcut, this);