How can I determine the parent of a ToolStripMenuItem? With a normal MenuStrip all you have to do is use the Parent property, but it doesn\'t seem that ToolStripMenuItem ha
Try this.....
ToolStripMenuItem t = (ToolStripMenuItem)sender; ContextMenuStrip s = (ContextMenuStrip)t.Owner; MessageBox.Show(s.SourceControl.Name);