In C# I created a small form and a private method now when you double
click on the form you get
private void Form1_Load(object sender, EventArgs e)
in that event handler is it okay to call my private method like so,
private void Form1_Load(object sender, EventArgs e)
{
//myMethod();
}
C# Form Load and Methods
6 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Mar 31, 2010, 8:56 PM EDT
theLizardRank #1,079 · 1.8K reputationPosted Mar 31, 2010, 8:58 PM EDT
Hirendra SisodiyaRank #258 · 9.8K reputationPosted Mar 31, 2010, 9:54 PM EDT
thanks
Charles Anderson4 reputationPosted Apr 1, 2010, 7:41 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Apr 1, 2010, 8:54 AM EDT
theLizardRank #1,079 · 1.8K reputationPosted Apr 1, 2010, 12:04 PM EDT
That should be ok, but what do you want the form to do if the value is not there? is the form the first form or is it loaded in response to something on another form?