views:

616

answers:

1

I have a few listview controls on a windows form and i've assigned a common contextmenustrip to them all using the properties grid in VS2005.

Now when a selection is made from the contextmenu in any listview, is there a way i can get the correct hosting control of the raised menu?

+3  A: 

ContextMenuStrip.SourceControl

Mladen Prajdic