0

I am using c# for my project, and i am working on a splash screen. Splash screen checking necessary files, problem is files are checked before showing splash screen. I want to do file checking after splashScreen interface become visible.

I am using two methods

//----------- Constructor ---------------------------------------
splashScreen()
{
initialization();
}

//-------------- Load Function ----------------------------------
splashScreen_Load(paramters)
{
checking files, database etc.
}
2
Contributors
1
Reply
2
Views
4 Years
Discussion Span
Last Post by Mike Askew
0

Move your methods for checking files etc to the splashScreen_Shown event.

This is run once the form appears on screen

EDIT:-

The reason all the checks are currently done before the splashscreen appears are because it is in the splashScreen_Load event which will fire before the form is visible as it loads everything required etc. Thought I'd just mention that for clarification purposes

Edited by Mike Askew

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.