This is a migrated thread and some comments may be shown as answers.

Word VSTO: Busy Indicator?

1 Answer 143 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 2
Nicolas asked on 07 Jun 2012, 06:21 AM
I'm currently developing a Word 2010 VSTO Document-Level Add-In that has to do extended operations on the open document. As these operations can take some seconds to complete, I'd like to indicate this to the users (so they don't get nervous and start clicking wildly around...). 

I've used the Telerik WPF RadBusyIndicator in a WPF project some time ago and really liked how easy it was to implement (and didn't obscure my code as well). It would be great if I could create the same effect using Telerik WinForms/WPF components.

Currently, the main thread directly operates on the document. I have not much experience in threaded programming, but I'd like to implement a clean and reusable solution that does not clutter the important part of my code. 

cheers
Nicolas

1 Answer, 1 is accepted

Sort by
0
Boryana
Telerik team
answered on 12 Jun 2012, 08:26 AM
Hi Nicolas,

Thank you for writing.

Telerik WinForms suite contains a control, which is functionally equivalent to the WPF BusyIndicator - RadWaitingBar.

The common scenario is to use RadWaitingBar with a BackgroundWorker. Our documentation contains an article that explains in details how to implement such case: http://www.telerik.com/help/winforms/track-and-status-controls-waitingbar-using-radwaitingbar-with-a-background-worker.html.

Another use of RadWatingBar is to show a dialog with the control during the time consuming operation is running. I have attached a sample project that demonstrates one possible implementation of this scenario.

I hope my answer is helpful. Let me know if you need further assistance.

Kind regards,
Boryana
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
General Discussions
Asked by
Nicolas
Top achievements
Rank 2
Answers by
Boryana
Telerik team
Share this question
or