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();
}
Loading
theLizardPosted Apr 1, 2010, 4:04 PM
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?
Sam HobbsPosted Apr 1, 2010, 12:54 PM
Charles AndersonPosted Apr 1, 2010, 11:41 AM
Hirendra SisodiyaPosted Apr 1, 2010, 1:54 AM
thanks
theLizardPosted Apr 1, 2010, 12:58 AM
Sam HobbsPosted Apr 1, 2010, 12:56 AM