2 writes to _lastOwner
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
575_lastOwner = null; 937_lastOwner = Owner;
4 references to _lastOwner
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (4)
567if (_lastOwner is not null) 570if (shortcut != Keys.None && _lastOwner.Shortcuts.ContainsKey(shortcut)) 572_lastOwner.Shortcuts.Remove(shortcut); 923_lastOwner?.Shortcuts.Remove(shortcut);