I've set the ContextMenuStrip property of a widget so that when I right click on the widget, a context menu appears. How do I tell the name and type of the underlying widget from inside the selected menu item when the item is selected? For example, say I have a button (Button10) that I associate a context menu strip with that contains two items. If I right click on the button, the menu pops up. I select "item 2" and handle that using the "MenuItem2_Click" event. How do I tell the underlying object (the context) for the menu is Button10? Hopefully that makes sense.
Thanks,
Greg
Thanks,
Greg