J
Joseph Geretz
What's the best way to share a common context menu between controls? At
design time, I can link the context menu to multiple controls, but at run
time, when the menu item is clicked, the event handler for the context menu
doesn't really have any way of knowing what control the context menu is
currently servicing. Any way to easily set this up? Or am I fighting the
paradigm here? On the other hand, this could get really messy if each
control needs its own dedicated context menu.
Thanks for your advice.
- Joe Geretz -
design time, I can link the context menu to multiple controls, but at run
time, when the menu item is clicked, the event handler for the context menu
doesn't really have any way of knowing what control the context menu is
currently servicing. Any way to easily set this up? Or am I fighting the
paradigm here? On the other hand, this could get really messy if each
control needs its own dedicated context menu.
Thanks for your advice.
- Joe Geretz -