how to affect the code that is generated for you by controls?

NicoVB

Centurion
Joined
Jan 2, 2002
Messages
160
Location
Belgium
I have designed a MainMenuEx, a MenuItemCollectionEx and a MenuItemEx. But a strange thing is that: the coder doesn't add this line automaticcaly in the code :

MainMenuEx1.MenuItems.AddRange(New MenuitemEx.MenuItemEx() {MenuItemEx1, MenuItemEx2, MenuItemEx3})


Why isn't this line included????
And how can I affect what is coded????
 
Shawn Burke wrote an article on customizing the code that is generated by the designers, search for it on Microsoft I guess.
 
Back
Top