Re-start a thread?

  • Thread starter Thread starter learn
  • Start date Start date
L

learn

Guest
Hi,

In a thread, I let a picturebox moving from left to right in the form, fine. Now how to re-start the thread to let the picturebox moving from left again?
 
You don't need to restart the thread. The code should be able to accommodate for this by itself. However, if you insist on doing it that way, call .Abort() and reinstantiate the thread object.
 
Back
Top