G
Guest
Hi,
I have a ContextMenuStrip that is used on various forms. When somebody opens
the context menu on a specific form (e.g. Form2) and clicks a menu item, I
need to execute some action on that form. Is there a way to determine the
form from which the context menu was invoked in the click event handler?
Usually I do this with Control.FindForm() but that does not work for the
ContextMenu.
Thanks for your help.
I have a ContextMenuStrip that is used on various forms. When somebody opens
the context menu on a specific form (e.g. Form2) and clicks a menu item, I
need to execute some action on that form. Is there a way to determine the
form from which the context menu was invoked in the click event handler?
Usually I do this with Control.FindForm() but that does not work for the
ContextMenu.
Thanks for your help.