Monday, April 19, 2010

Threading the UI in WinForms/WPF

I figured out how to put the UI on a separate thread than the functionality.





This is what you do in the MyForm.cs class. Begin invoke on the Dispatcher.

You must create a DELEGATE -> ClickDelegate and cast the new delegate as that.

No comments:

Post a Comment