void CloseSplashScreen()
 {
     if (!SplashContainer.IsActive)
     {
         return;
     }
     SplashContainer.Close();
 }
 protected virtual void CloseSplashScreen()
 {
     if (!IsActive)
     {
         return;
     }
     SplashContainer.Close();
 }
 public static void CallSplashScreenMethod <T>(Action <T> action)
 {
     if (!IsActive)
     {
         throw new InvalidOperationException(DXSplashScreenExceptions.Exception3);
     }
     SplashContainer.CallSplashScreenMethod <T>(action);
 }
 public static void SetState(object state)
 {
     if (!IsActive)
     {
         throw new InvalidOperationException(DXSplashScreenExceptions.Exception3);
     }
     SplashContainer.SetState(state);
 }
 public static void Progress(double value, double maxValue = 100d)
 {
     if (!IsActive)
     {
         throw new InvalidOperationException(DXSplashScreenExceptions.Exception3);
     }
     SplashContainer.Progress(value, maxValue);
 }
 public static void Close()
 {
     if (!IsActive)
     {
         throw new InvalidOperationException(DXSplashScreenExceptions.Exception3);
     }
     SplashContainer.Close();
 }
        protected virtual void ShowSplashScreen()
        {
            if (!UseSplashScreen || IsActive)
            {
                return;
            }

            SplashContainer.Show(CreateSplashScreenWindow, CreateSplashScreen, GetSplashScreenCreatorParams(), new object[] { SplashScreenTemplate, SplashScreenDataContext }, null);
        }