问题描述
有没有什么好的示例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
的
很多在这里的例子:的
a lot of examples here:http://www.c-sharpcorner.com/Articles/ArticleListing.aspx?SectionID=1&SubSectionID=149
这篇关于对于.NET桌面UI多线程示例应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!