My code has LOTS of places where it sets-up new menu items, like:
.Add(New RadMenuItem("..section from document", New EventHandler(AddressOf mnuDeleteSectionFromDocument_Click)))
I am moving it all over to a new version of my app, which is, I think, using a newer verison of the winforms framework.
This code still comiles, but doesn't create the link from the menu item to the address handler, whereas the more long-form approach works just fine:
Dim aMenuItem = New RadMenuItem("test")
AddHandler aMenuItem.Click, AddressOf mnuTest
Was there a change in the APi, in which case I need to change everything, or is there another way to create all the menu options and their handlers quickly?