后台工作人员和整合服务 [英] backgroundworker and inttegration service

查看:125
本文介绍了后台工作人员和整合服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中.我以编程方式执行程序包.
(pkg = app.LoadPackage(pkgLocation,Nothing))
我有一个问题,所以我想在使用backgroundworker执行程序包时向用户显示进度栏

In my project. I execute package with programmatically.
(pkg = app.LoadPackage(pkgLocation, Nothing))
I have a problem so I want show the progress bar to user when the package execute by use backgroundworker

help me please

推荐答案

好,您需要启动后台工作程序,并在适当的时间间隔启动进度事件.在事件处理程序中,更新进度条(您将需要使用Invoke来更新UI).
Well, you need to start your background worker, fire off a progress event at appropriate intervals. In the event handler, update the progress bar (you will need to use Invoke to update the UI).


我刚刚发布了
I''ve just posted this Tip/Trick[^]. It''s in C# but the principle is the same so easy to convert to VB


您可以向我展示考试

ps.我是新手程序员,每周一次用英语
you can show me the exam

ps.I''m newbie programmer and weekly in english


这篇关于后台工作人员和整合服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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