本文介绍了如何在Microsoft Word 2010加载项中添加进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Microsoft word 2010加载项。单击必需按钮时,需要很长时间才能完成。我希望在流程完成时添加进度条,以便让用户知道特定实例正在运行。



编写了以下代码,但未显示进度条。请指导如何实现这一目标。



[code]



Working on Microsoft word 2010 Add-In. When Required button is clicked it takes quite long time to complete. i want to add a progress bar while the process completes so that user is made aware that particular instance is working.

wrote following code but progress bar does not appears. please guide how to achieve that.

[code]

Dim myProgressBar As ProgressBar = Nothing
myProgressBar = New ProgressBar
myProgressBar.Minimum = 0
myProgressBar.Maximum = 100
myProgressBar.Visible = True
myProgressBar.PerformStep()







/ [code]




/[code]

推荐答案


这篇关于如何在Microsoft Word 2010加载项中添加进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 01:02