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