Results 1 to 15 of 15

Thread: PLZ HELP ME WITH Multithreading

Threaded View

  1. #14
    Karen Payne MVP kareninstructor's Avatar
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    6,714

    Re: PLZ HELP ME WITH Multithreading

    As stated by jmcilhinney in his reply you normally not update the UI in the secondary thread but if you must you need to use Threading.SynchronizationContext in tangent with Threading.SendOrPostCallback which gets ugly fast. The attached demo uses two threads where the secondary thread updates the first thread, the UI.

    The project is VS2008
    Last edited by kareninstructor; Jul 9th, 2011 at 10:09 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width