/// <summary>
 /// Zamykanie okna
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Window_Closing(object sender, CancelEventArgs e)
 {
     if (!_selfclose)
     {
         // Zakończ wysyłanie statystyk
         Stats.AppStop();
     }
 }
Exemple #2
0
 private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     // Tells ProgReporter that you are going to stop your application
     stats.AppStop();
 }