_Load( method of my windows form applicaiton is not being executed


I have a Windows web from named frmMain

in the code behind file frmMain.cs there is an onload method for the form

private void frmMain_Load(System.Object eventSender, System.EventArgs event Args)
{



}

However this method is not being called when my form loads. Does anyone know why the method is not being
called?
LVL 2
brgdotnetcontractorAsked:
Who is Participating?
 
Carl TawnSystems and Integration DeveloperCommented:
It sounds like the event has become dettached from the handler. If you select the form in design view, then go to the events section of the properties pane, do you see anything against the Load event? If you do then double-click it, does it take you to the Load() method of your form?
0
 
brgdotnetcontractorAuthor Commented:
Awesome, thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.