Пример #1
0
        private void DoShowSplashScreen()
        {
            var splashScreen = new LoadingScreen();

            splashScreen.DataContext = DesktopContainer.GetInstance <ILoadingScreenViewModel>();

            splashScreen.Show();
        }
Пример #2
0
        public static Album BuildAlbumInstance(LibraryAlbum data)
        {
            var instance = DesktopContainer.GetInstance <Album>();

            instance.Data = data;

            return(instance);
        }