Esempio n. 1
0
 private static void CreateMonitor()
 {
     _ = _app.Dispatcher.BeginInvoke(new Action(() =>
     {
         _monitor = new MonitorWindow(CURRENT);
         _monitor.SetVM(_VM);
         _monitor.Closed += _monitor_Closed;
         _monitor.Show();
     }));
 }
Esempio n. 2
0
 private static void _monitor_Closed(object sender, EventArgs e)
 {
     _monitor = null;
 }