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