Esempio n. 1
0
        public static void StartManaging()
        {
            _earliestWeShouldCloseTheSplashScreen = DateTime.Now.AddSeconds(3);
            _splashForm = SplashScreen.CreateAndShow();            //warning: this does an ApplicationEvents()

            // Bloom is usually launched by a tiny EXE that displays a splash screen faster
            // than Bloom itself possibly could. As soon as we have our real splash screen up,
            // we want to take the next opportunity to get rid of it.
            AddStartupAction(() => CloseFastSplashScreen());
            Application.Idle += DoStartupAction;
        }