public static DXSplashScreenService CreateDefaultSplashScreenAndShow(Window window, FrameworkElement owner = null, SplashScreenOwnerSearchMode ownerSearchMode = SplashScreenOwnerSearchMode.Full
          , bool activateWindow = true, FrameworkElement windowContent = null, SplashScreenClosingMode? closingMode = null) {
     DXSplashScreenService service = CreateDefaultService();
     service.SplashScreenOwner = owner;
     if(closingMode.HasValue)
         service.SplashScreenClosingMode = closingMode.Value;
     service.OwnerSearchMode = ownerSearchMode;
     if(windowContent == null)
         Interaction.GetBehaviors(window).Add(service);
     else {
         window.Do(x => x.Content = windowContent);
         Interaction.GetBehaviors(windowContent).Add(service);
     }
     if(window != null) {
         window.Show();
         if(activateWindow && !window.IsActive)
             window.Activate();
         DispatcherHelper.UpdateLayoutAndDoEvents(window);
     }
     service.ShowSplashScreen();
     SplashScreenTestUserControl.DoEvents();
     return service;
 }
 DXSplashScreenService CreateDefaultSplashScreenAndShow(FrameworkElement owner = null, SplashScreenOwnerSearchMode ownerSearchMode = SplashScreenOwnerSearchMode.Full,
         bool activateWindow = true, FrameworkElement windowContent = null, SplashScreenClosingMode? closingMode = null) {
     return SplashScreenTestsHelper.CreateDefaultSplashScreenAndShow(RealWindow, owner, ownerSearchMode, activateWindow, windowContent, closingMode);
 }