Пример #1
0
 private void Button_Submit_Click(object sender, RoutedEventArgs e)
 {
     if (totalWindow == null)
     {
         totalWindow         = new TotalWindow();
         totalWindow.Closed += TotalWindow_Closed;
         totalWindow.Show();
     }
 }
Пример #2
0
 private void TotalWindow_Closed(object sender, EventArgs e)
 {
     totalWindow = null;
 }