How to get the referece to ContextMenuStrip from its underlying sub menuitem which is a ToolStripMenuItem of a ToolStripDropDownMenu which is a Dropdown of a ToolstripMenuItem of this ContextMenuStrip?
the problem lies in the ToolStripDropDownMenu class,where can't find a property refer to upperlevel objects such as its assciated ToolStripMenuItem.Its Parent,Container properties and GetContainerControl() method all return null.
My purpose is to know the SourceControl of the ContextMenuStrip when any of its underlying menu items are clicked.