Esempio n. 1
0
 private void Searcher_ThreadEnded(ThreadEndedEvent e)
 {
     // if app closing
     if (!_closing)
     {
         // Invoke the method "this_ThreadEnded" through a delegate, so it is executed in the same thread as MainWindow
         this.Invoke(ThreadEnded, new object[] { e });
     }
 }
Esempio n. 2
0
 private void This_ThreadEnded(ThreadEndedEvent e)
 {
     EnableAllExpStop();
 }