Beispiel #1
0
 private void MenuOpenMapData(object sender, RoutedEventArgs e)
 {
     if (liveMapDataViewer == null)
     {
         liveMapDataViewer         = new LiveMapDataViewer();
         liveMapDataViewer.Closed += LiveMapDataViewer_Closed;
         liveMapDataViewer.Show();
     }
     else
     {
         FocusWindow(liveMapDataViewer);
     }
 }
Beispiel #2
0
 private void LiveMapDataViewer_Closed(object sender, EventArgs e)
 {
     liveMapDataViewer = null;
 }