private static void CloseSplashScreen()
{
_alreadyHadSplashOnce = true;
Application.Idle -= CareForSplashScreenAtIdleTime;
if (_splashForm != null)
{
if (RegistrationDialog.ShouldWeShowRegistrationDialog())
{
_splashForm.Hide();//the fading was getting stuck when we showed the registration.
}
_splashForm.FadeAndClose(); //it's going to hang around while it fades,
_splashForm = null; //but we are done with it
}
}