IntializeComponent() method in VS2008

Anjumnagpal

Member
Joined
Feb 4, 2009
Messages
15
Programming Experience
Beginner
Hi all,

I am trying to create a basic windows form on VS2008. I dont see intializecomponent() method in my form. Also, I added a few controls on to the forms and set few properties for those controls on design view. Where is that code getting stored?? it isnt on the code behind file.

I know thr is no html code behind file for window forms?? also, where is intializecomponent method. Please help me out. I have been trying to find this out for such a long time now.

Thanks in advance.
 
With the introduction of partial classes in VB 2005, the designer-generated code and the user code were separated into 2 different files. By default the designer code file is not visible because it should rarely need to be edited. If you want to view it or you have come upon one of the rare situations where it does need to be edited, open the Solution Explorer and click the Show All Windows button and expand the node for your form. You'll see the designer code file and the user code file listed there.
 
I did but I dont see anything option as "show all window".. either as a button nor by right click on solution explorer. Just to let you know,I am using VS2008.
 
Back
Top