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