Are there any good sample UI applications which illustrate multi threading best practices in .net?
The scenario I am thinking of is a graphically rich scorecard where the kpi's are 开发者_开发技巧being updated from several different sources and threads.
Although I am interested in WPF a Winforms sample application would I believe serve just as well as they are both single-threaded apartment based.
Thank you.
Google is your friend :)
http://www.codeproject.com/KB/user-controls/AlternateMultithreadedGUI.aspx
http://srtsolutions.com/blogs/charliesears/archive/2008/07/23/multithreading-in-c.aspx
a lot of examples here: http://www.c-sharpcorner.com/Articles/ArticleListing.aspx?SectionID=1&SubSectionID=149
精彩评论