Web Hosting Talk







View Full Version : how to add a splash form to my application


hytechpro
02-13-2006, 04:05 AM
Hi all :)

I am creating a window application in .Net environment using C#. What I want just add one window form to it which just appear for 10 sec. and then goes to main window and close the first from.

As you see in many applications. I tried a lot but not succeed……
I don’t understand what to do??
Plz help
Thanx
Devs

Carp
02-13-2006, 02:08 PM
I don't know C#....however in Visual Basic....you make the form start with the application with all other forms unloaded....then on the forms load, load all the other forms and controls that need to be loaded...then hide this form and make the next form visible.

tamasrepus
02-13-2006, 02:20 PM
You're forcing the splash window to be displayed for 10 sec?

Pardon the evangelism, but you do know how annoying this is? That's 10 sec of your user's life that he isn't going to get back.

Instead of writing a splash screen, consider optimizing your code somewhere that it loads fast enough that you don't need a splash screen.

Carp
02-13-2006, 02:52 PM
I agree. It's different it it shows for like 2 seconds. But 10 is a long time....Your user may fall asleep.