Multi Threaded windows C# application desing pattern

  • Thread starter Thread starter LP
  • Start date Start date
L

LP

Hello,

Can someone point to the right direction on how to start a new worker
thread, notify UI certain methods complete their work through events. And
then safely update UI's controls properties. I am especially interested in
the later part. I want to update label's text and progress bar while worker
thread is still running; what is the most recognized design pattern to do it
safely in C#.
Any articles code samples or your opinion will be appreciated. Thank you
 
LP said:
Can someone point to the right direction on how to start a new worker
thread, notify UI certain methods complete their work through events. And
then safely update UI's controls properties. I am especially interested in
the later part. I want to update label's text and progress bar while worker
thread is still running; what is the most recognized design pattern to do it
safely in C#.
Any articles code samples or your opinion will be appreciated. Thank you

See http://www.pobox.com/~skeet/csharp/threads/winforms.shtml (and the
other pages in the same logical article).
 
Back
Top