How do I update the GUI from another thread?

Which is the simplest way to update a Label from another Thread?

  • I have a Form running on thread1, and from that I’m starting another thread (thread2).

  • While thread2 is processing some files I would like to update a Label on the Form with the current status of thread2‘s work.

How could I do that?


Leave a Comment