Example #1
0
        private void RunCalculatePrimes()
        {
            var primesThread = new PrimesThread(this);

            primesThread.ThreadFinished += ResetToDefaultContext;
            primesThread.ThreadStarted += ChangeToThreadContext;

            primesThread.Run();
        }
Example #2
0
 private void RunCalculatePrimes()
 {
     var primesThread = new PrimesThread(this);
     primesThread.Run();
 }