Exemplo n.º 1
0
 private static void CloseSplashDown()
 {
     Application.ExitThread();
     _splashScreen = null;
 }
Exemplo n.º 2
0
        private static void LaunchSplash()
        {
            _splashScreen = new SplashScreen();

            // Create new message pump
            Application.Run(_splashScreen);
        }
Exemplo n.º 3
0
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (_splashScreen != null)
            {
                Application.ExitThread();
                _splashScreen = null;
            }

            if (disposing && (components != null))
            {
                components.Dispose();
            }

            base.Dispose(disposing);
        }