Esempio n. 1
0
        internal static void HideSplashScreen()
        {
            if (_SplashScreen == null)
            {
                return;
            }

            _SplashScreen.Close();
            _SplashScreen = null;
        }
Esempio n. 2
0
        private static void ShowSplashScreen(IWin32Window owner)
        {
            _SplashScreen = new frmSplash();
            _SplashScreen.MinimumDuration = TimeSpan.FromSeconds(3);

            if (_SplashScreen != null)
            {
                _SplashScreen.Show(owner);
                _SplashScreen.Update();
                Application.DoEvents();
            }
        }
Esempio n. 3
0
        private static void ShowSplashScreen(IWin32Window owner)
        {
            _SplashScreen = new frmSplash();
            _SplashScreen.MinimumDuration = TimeSpan.FromSeconds(3);

            if (_SplashScreen != null)
            {
                _SplashScreen.Show(owner);
                _SplashScreen.Update();
                Application.DoEvents();
            }
        }
Esempio n. 4
0
        internal static void HideSplashScreen()
        {
            if (_SplashScreen == null) return;

            _SplashScreen.Close();
            _SplashScreen = null;
        }