void ISplashScreenService.HideSplashScreen() { if (!DXSplashScreen.IsActive) { return; } DXSplashScreen.Close(); if (AssociatedObject != null) { Window ownerWindow = Window.GetWindow(AssociatedObject); if (ownerWindow != null && !ownerWindow.IsActive) { ownerWindow.Activate(); } } isSplashScreenShown = DXSplashScreen.IsActive; }
void ISplashScreenService.HideSplashScreen() { if (!IsSplashScreenActive) { isSplashScreenShown = false; return; } if (UseIndependentWindow && splashContainer.IsActive) { GetSplashContainer(true).Close(); isSplashScreenShown = false; } else { DXSplashScreen.Close(); isSplashScreenShown = DXSplashScreen.IsActive; } }