资讯
067f f49c 630 ee55d System.ComponentModel.BackgroundWorker.WorkerThreadStart (System.Object) [f:\dd\NDP\fx\src\compmod\system\componentmodel\BackgroundWorker.cs @ 245] ...
那么BackgroundWorker内部是不是依然使用了线程池及后台线程呢? 我们来一起看看在backgroundWorker1_DoWork事件中记录的日志: 通过日志我们发现,EAP与APM一样,也使用了线程池中的线程,不得不感叹一句,线程池是个伟大的发明,微软真是无所不用其极啊!
程序启动通常会有一个等待的过程,在这个过程中可以通过使用Popup控件配合BackgroundWorker类启动后台线程来实现。
Inside //the System.ComponentModel.BackgroundWorker.DoWork //event handler, you can extract the parameter from the //System.ComponentModel.DoWorkEventArgs.Argument property.
一些您可能无法访问的结果已被隐去。
显示无法访问的结果