tags:

views:

419

answers:

3

I don´t know why, but my form isn´t calling Form_Load event when it loads.

Any ideas why this might be happening?

+1  A: 

Do you have the event handler set up?

Ultimately, there is going to be a line of code that looks something like this:

this.Load += new System.EventHandler(this.Form1_Load);

That might be something you code yourself, or is generated by double-clicking the Load event for the form from within Visual Studio.

itsmatt
A: 

Could you please post an example of your form_load code?

Also, does the event just not fire, or does the form fail to load at all?

thismat
A: 

Thanks a lot!

fhnaylor
If there was a solution, mark it as such, this is an answer, not a place to discuss or comment.
Geoffrey Chetwood