CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    339

    InitializeComponent() problem

    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

  2. #2
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: InitializeComponent() problem

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured