示例#1
0
 /// <summary>
 /// Displays the splashscreen
 /// </summary>
 public static void ShowSplashScreen()
 {
     try
     {
         if (_sf == null)
         {
             _sf = new SplashScreenForm();
             _sf.ShowSplashScreen();
         }
     }
     catch (Exception)
     {
     }
 }
示例#2
0
 /// <summary>
 /// Closes the SplashScreen
 /// </summary>
 public static void CloseSplashScreen()
 {
     try
     {
         if (_sf != null)
         {
             _sf.CloseSplashScreen();
             _sf = null;
         }
     }
     catch (Exception)
     {
     }
 }
示例#3
0
 /// <summary>
 /// Displays the splashscreen
 /// </summary>
 public static void ShowSplashScreen()
 {
     try
     {
         if (_sf == null)
         {
             _sf = new SplashScreenForm();
             _sf.ShowSplashScreen();
         }
     }
     catch (Exception)
     {
     }
 }
示例#4
0
        /// <summary>
        /// Closes the SplashScreen
        /// </summary>
        public static void CloseSplashScreen()
        {
            try
            {
                if (_sf != null)
                {
                    _sf.CloseSplashScreen();
                    _sf = null;
                }
            }
            catch (Exception)
            {

            }
        }