Click to See Complete Forum and Search --> : InitializeComponent() problem


dummyagain
March 7th, 2006, 08:46 AM
I use GUI to draw the interface for the program. But when i read the code, it calls a method InitializeComponent(); but i cannot find the contents in this method. I would like to know how i can read the code in InitializeComponent()?

Thank you

Shuja Ali
March 7th, 2006, 08:54 AM
Open the Code Editor and right click on the InitializeComponent() In the resulting menu select Goto Definition. It will take you to the starting of the function InitializeComponent.

InitializeComponent is nothing but the sub where the Controls are built and other properties are set.