Adding Code at design time

nakhatib

Newcomer
Joined
Jan 1, 2004
Messages
10
Would you please help me in the following problem...
i am working on a project in Visual basic .net.
In visual studio .net, When you drag a control from the toolbox to the form, visual studio will automatically add the necessary code to create the control in form.vb file.
i want to do the same thing, i want to create a code that will insert another code(for example textbox declaration) on any form opened in the design mode at design time.
Would you please help in this issue or at least the places and topics i should check.
 
If you want to add a control to every open designer window in VS.Net, you may want to look into Macros. VS.Net has macro support like Office, Tools>Macros.
 
Back
Top