Looking at the code always helps too. That is, you can actually take a look at the generated partial class (that calls LoadComponent) by doing the following:
- Go to the Solution Explorer pane in the Visual Studio solution that you are interested in.
- There is a button in the tool bar of the Solution Explorer titled 'Show All Files'. Toggle that button.
- Now, expand the obj folder and then the Debug or Release folder (or whatever configuration you are building) and you will see a file titled YourClass.g.cs.
The YourClass.g.cs ... is the code for generated partial class. Again, if you open that up you can see the InitializeComponent method and how it calls LoadComponent ... and much more.