“加载服务员"和BackgroundWorker [英] "Loading Waiter" and BackgroundWorker

查看:108
本文介绍了“加载服务员"和BackgroundWorker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望程序在UI加载时弹出"Loading Waiter"对话框.

一些数据.所以我使用BackgroundWorker来完成这项工作,

但是在BackgroundWorker的ReportProgress中,应用程序将数据绑定到

用户界面,并且在完成之前花了5秒钟.在这段时间内

用户界面和loadingWait似乎一直处于冻结"状态,直到

动作完成了.

I want the program to popup the "Loading Waiter" dialog when UI loads

some data.so I use the BackgroundWorker to do this work ,

but in BackgroundWorker''s ReportProgress,the Application bind data to

UI and has spent 5 second before they completed.During this time

the UI and the loadingWait become what appears to be "frozen" until

the actions are complete.

what is the reson?

推荐答案

您似乎想向与其文章相关的作者问这个问题.

我建议您使用本文结尾处的论坛,以联系作者并快速获得答复.很少您会找到阅读此论坛的作者.

请在文章的消息论坛中发布相同的内容.
It looks like you want to ask this question to an author related to his/her article.

I would suggest you to please use the forum present at the end of the article in order to reach author and get quick response. Rarely you will find authors reading this forum.

Please post the same at the article''s message forum.


这篇关于“加载服务员"和BackgroundWorker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆