minimize window problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

ok. I use VS2005 and framework 2
i have some winform and in Form_Load event i try make this.Hide()

private void Form1_Load(object sender, EventArgs e)
{
bool logged = AutoLogin();
if (logged)
{
this.Hide();
}
}

But this doesn't work. After this code (logged == true)
but it work if I run this code AFTER Form1_Load event.
Why it heppends? And How I can make autorun something after
FORM_LOAD event without click on any button?
 
Back
Top