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.
}

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.