Ejemplo n.º 1
0
 void Close()
 {
     if (sf != null)
     {
         sf.CloseSplashScreen();
         sf = null;
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Closes the SplashScreen
        /// </summary>
        public static void CloseSplashScreen()
        {
            if (callingForm == null) return;
            callingForm.Show();
            if (sf != null)
            {
                sf.CloseSplashScreen();
                sf = null;
            }

            callingForm.Activate();
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Closes the SplashScreen
        /// </summary>
        public static void CloseSplashScreen()
        {
            if (callingForm == null)
            {
                return;
            }
            callingForm.Show();
            if (sf != null)
            {
                sf.CloseSplashScreen();
                sf = null;
            }

            callingForm.Activate();
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Displays the splashscreen
 /// </summary>
 static void ShowSplashScreen(object param)
 {
     if (sf == null)
     {
         SplashScreenOptions options;
         if (param is SplashScreenOptions)
         {
             options = param as SplashScreenOptions;
         }
         else
         {
             options = new SplashScreenOptions();
         }
         sf = new SplashScreenForm(options);
         sf.ShowSplashScreen();
     }
 }
Ejemplo n.º 5
0
 void Close()
 {
     if (sf != null)
     {
         sf.CloseSplashScreen();
         sf = null;
     }
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Displays the splashscreen
 /// </summary>
 static void ShowSplashScreen(object param)
 {
     if (sf == null)
     {
         SplashScreenOptions options;
         if (param is SplashScreenOptions)
             options = param as SplashScreenOptions;
         else
             options = new SplashScreenOptions();
         sf = new SplashScreenForm(options);
         sf.ShowSplashScreen();
     }
 }