public void Activate(ActivateSources source, SplashLogic splash = null) { this.LogInfo($"source:{source}"); if (source != ActivateSources.SplashScreen) { splash?.Hide(); } Window.Current.Activate(); }