2 writes to _lastOwner
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
577_lastOwner = null; 942_lastOwner = Owner;
4 references to _lastOwner
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (4)
569if (_lastOwner is not null) 572if (shortcut != Keys.None && _lastOwner.Shortcuts.ContainsKey(shortcut)) 574_lastOwner.Shortcuts.Remove(shortcut); 928_lastOwner?.Shortcuts.Remove(shortcut);