protected override void InitializeShell() { Application.Current.MainWindow = (Window)Shell; Application.Current.MainWindow.Show(); }