14 references to Shortcuts
System.Windows.Forms (14)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (4)
719
if (toolStrip.
Shortcuts
.ContainsKey(shortcut))
777
&& activeControlInChain.ContextMenuStrip.
Shortcuts
.TryGetValue(shortcut, out ToolStripMenuItem? item)
802
|| !toolStrip.
Shortcuts
.ContainsKey(shortcut))
869
if (toolStrip.
Shortcuts
.TryGetValue(shortcut, out ToolStripMenuItem? item)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (10)
382
owner.
Shortcuts
.Remove(originalShortcut);
385
if (owner.
Shortcuts
.ContainsKey(value))
388
owner.
Shortcuts
[value] = this;
392
owner.
Shortcuts
.Add(value, this);
572
if (shortcut != Keys.None && _lastOwner.
Shortcuts
.ContainsKey(shortcut))
574
_lastOwner.
Shortcuts
.Remove(shortcut);
928
_lastOwner?.
Shortcuts
.Remove(shortcut);
932
if (Owner.
Shortcuts
.ContainsKey(shortcut))
935
Owner.
Shortcuts
[shortcut] = this;
939
Owner.
Shortcuts
.Add(shortcut, this);