I have a lot of nested submenus, but in order for me to handle event click for each sub menu I have to manually right menuname.click += menuclickhandler, is it possible to do it using designer in visual studio?
Wisej features a built-in Menu Editor that lets you attach event handlers to each menu item. See the attached screenshot.
You can also just add one handler (for a ContextMenu its MenuItemClicked) and determine which child was clicked with the MenuItemEventArgs.
Let me know if you have any other questions!
Please login first to submit.