예제 #1
0
 private void StopThread()
 {
     if (_thread != null)
     {
         _thread.Dispose();
         _thread = null;
     }
 }
예제 #2
0
        private void StartThread()
        {
            if (_thread != null)
            {
                StopThread();
            }

            _thread = new LoopThread(OnEventTick);
        }