Beispiel #1
0
 private void StopSim()
 {
     if (_log != null)
     {
         _log.Stop();
         _log.OnDontChangedDecision -= _log_OnDontChangedDecision;
         _log.OnChangedDecision     -= _log_OnChangedDecision;
         _log = null;
     }
 }
Beispiel #2
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     _log?.Stop();
 }