对于.NET桌面UI多线程示例应用程序示例、多线程、应用程序、桌面

2023-09-07 08:44:43 作者:浅忆〞微微凉

有没有什么好的示例UI应用程序这说明了在.NET中多线程的最佳做法?

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.

虽然我对WPF一个WinForms示例应用程序,我会相信成为一样好,因为它们是基于两个单线程单元。

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.

感谢你。

推荐答案

谷歌是您的朋友:)

HTTP://www.$c$cproject.com/ KB /用户控件/ AlternateMultithreadedGUI.aspx

的http://srtsolutions.com/blogs/charliesears/archive/2008/07/23/multithreading-in-c.aspx

很多在这里的例子: 的http://www.c-sharpcorner.com/Articles/ArticleListing.aspx?SectionID=1&SubSectionID=149

a lot of examples here: http://www.c-sharpcorner.com/Articles/ArticleListing.aspx?SectionID=1&SubSectionID=149

 
精彩推荐
图片推荐