Click here to Skip to main content
15,790,723 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello guys

i need to unload/dispose the splash screen before main form loads.
The reason is because a background worker is working and displaying progress
while the splash screen is displayed, so when all is done, then load the main form
some data that is loaded in the splash screen is used in the main form.

any idea how i can do this?

Updated 3-Oct-11 8:32am
Sergey Alexandrovich Kryukov 3-Oct-11 19:06pm    
It all looks find, so why it causes a problem?

1 solution

Have you looked here; A Pretty Good Splash Screen in C#[^]
Share this answer
Cool Smith 3-Oct-11 14:54pm    
thanks, but that didn't help, i was looking for a solution to this problem, that one is creating a splash screen dll, which is not necessary
[no name] 3-Oct-11 15:41pm    
You will rarely find a solution that is a 100% fit to your specific problem. You'll need to learn to extrapolate and apply the concepts to solve your problem.
Cool Smith 3-Oct-11 15:45pm    
the thing is i have a splash screen already, the problem am facing is that it looks like before the splash screen form is unloaded or disposed, the main form is show, and i get errors of the data am suppose to use that the splash screen is suppose to make available

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900