Esempio n. 1
0
 private void StopCalculator()
 {
     if (m_calculator != null)
     {
         m_calculator.ClearQueue(true);
         m_calculator.CompletedWork -= new EventHandler(m_calculator_CompletedWork);
         m_calculator.Terminate(false);
         m_calculator = null;
     }
 }