예제 #1
0
 void Close()
 {
     if (sf != null)
     {
         sf.CloseSplashScreen();
         sf = null;
     }
 }
예제 #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();
        }
예제 #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();
        }
예제 #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();
     }
 }
예제 #5
0
 void Close()
 {
     if (sf != null)
     {
         sf.CloseSplashScreen();
         sf = null;
     }
 }
예제 #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();
     }
 }