Пример #1
0
 private void Button_New_Fire_Clicked(object sender, RoutedEventArgs e)
 {
     if (newFireWindow == null)
     {
         newFireWindow         = new NewFireWindow();
         newFireWindow.Closed += newFireWindowClosed;
         newFireWindow.Show();
     }
 }
Пример #2
0
 private void newFireWindowClosed(object sender, EventArgs e)
 {
     newFireWindow = null;
 }