예제 #1
0
 public void Stop()
 {
     if (workerThread != null)
     {
         workerThread.Stop();
         workerThread = null;
     }
 }
예제 #2
0
 public void Start()
 {
     if (workerThread == null)
     {
         workerThread = CreateWorkerThread(DelegateToRun);
         workerThread.Start();
     }
 }