开发者

view progressbar with thread

I have a project in c# and I want to view progress开发者_运维技巧bar with another form in thread mode, when working with data. I want to do this:

MyMessageBox.ShowWaiting("Please wait..."); //Do Anything; MyMessageBox.HideWaiting();

MyMessageBox is a form with a progressbar in marque style. Can you help me how to do this?


You could use the BackgroundWorker class which allows you to execute tasks on background threads and report progress at the same time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜