加载表格时进度条 [英] Progress bar while loading form

查看:89
本文介绍了加载表格时进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!



这是我第一次在加载表单时使用进度条。由于我连接到mysql服务器,我的表单加载似乎太慢了。我想在表单加载时显示进度条。



请帮我解释一下代码。提前谢谢!上帝保佑!

Hi!

This is my first time to use progress bar while loading a form. Since I am connecting to mysql server, the loading of my form seems to be too slow. I want to show a progress bar while the form is loading.

Please help me with the code. Thank you in advance!God bless!

推荐答案

为此你必须先了解BackgroundWorker线程。

看到这个:



http:// msdn.microsoft.com/en-us/library/cc221403%28v=vs.95%29.aspx [ ^ ]



http://www.dreamincode.net/forums/topic/88605-the-background-worker/ [ ^ ]



然后按照此链接了解如何一起使用BackgroundWorker和ProgressBar:



BackgroundWorker和ProgressBar演示 [ ^ ]



http:// stackoverflow。 com / questions / 13206926 / vb-net-progressbar-backgroundworker [ ^ ]





BackgroundWorker线程和支持取消 [ ^ ]
for this you must first know about BackgroundWorker thread.
see this:

http://msdn.microsoft.com/en-us/library/cc221403%28v=vs.95%29.aspx[^]

http://www.dreamincode.net/forums/topic/88605-the-background-worker/[^]

and then follow this links for how use BackgroundWorker and ProgressBar together:

BackgroundWorker and ProgressBar demo[^]

http://stackoverflow.com/questions/13206926/vb-net-progressbar-backgroundworker[^]


BackgroundWorker Threads and Supporting Cancel[^]


这篇关于加载表格时进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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