Beispiel #1
0
 static void _splashScreen_Closed(object sender, EventArgs e)
 {
     _splashScreen.Closed -= _splashScreen_Closed;
     _splashScreen = null;
 }
 public ScratchSplashScreenViewModel(DeviceModel dm, ScratchSplashScreen view)
     : base(view.Dispatcher)
 {
     _view = view;
 }
Beispiel #3
0
 private static void ShowSplashScreen()
 {
     if (_splashScreen == null)
     {
         _splashScreen = new ScratchSplashScreen();
         _splashScreen.Closed += _splashScreen_Closed;
     }
     _splashScreen.Show();
     _splashScreen.BringIntoView();
 }