Пример #1
0
 private void MenuOpenH1CinematicCamera(object sender, RoutedEventArgs e)
 {
     if (H1CinematicCameraWindow == null)
     {
         H1CinematicCameraWindow         = new H1CinematicCameraWindow();
         H1CinematicCameraWindow.Closed += H1CinematicCamera_Closed;
         H1CinematicCameraWindow.Show();
     }
     else
     {
         FocusWindow(H1CinematicCameraWindow);
     }
 }
Пример #2
0
 private void H1CinematicCamera_Closed(object sender, EventArgs e)
 {
     H1CinematicCameraWindow = null;
 }