G
Guest
hi,
i have a startup form (like the ones you get in Microsoft Office) that
should open for a few seconds and then close. it works when you don't include
the line in the Stativ void main that will close it:
Application.EnableVisualStyles();
SplashForm sf = new SplashForm();
sf.Show();
//show the splash
Application.DoEvents();
//allow form to paint
sf.Close();
//<<this one
Application.Run(new Browser());
but if i don't include it, the form will be open until you terminate the
application. i want it to close.
tell me if my question isn't clear enough!
cheers,
i have a startup form (like the ones you get in Microsoft Office) that
should open for a few seconds and then close. it works when you don't include
the line in the Stativ void main that will close it:
Application.EnableVisualStyles();
SplashForm sf = new SplashForm();
sf.Show();
//show the splash
Application.DoEvents();
//allow form to paint
sf.Close();
//<<this one
Application.Run(new Browser());
but if i don't include it, the form will be open until you terminate the
application. i want it to close.
tell me if my question isn't clear enough!
cheers,