views:

88

answers:

6

We've all used the ProgressBar control, and it's great.

Sometimes, though, you want to indicate to the user that work is being done, even though you can't determine what percentage of the work is finished or how long it will take to complete.

On some operating systems, you can set Style = ProgressBarStyle.Marquee; but this isn't supported on, e.g., Windows Server 2008.

Is there any type of "Spinning Wheel" control (like this) that is freely available (perhaps on CodeProject, CodePlex, SourceForge, or elsewhere) and fills this need?

It doesn't have to be a wheel, really -- any control that appropriate conveys the message "work is being done -- not to worry" would be fine.

+2  A: 

If you can just display a GIF or animated image:

http://www.ajaxload.info/

This could be done in a user control by extracting the frames of the GIF using the Image class and painting as need-be.

John Gietzen
+1  A: 

WPF : Circular Progress Bar describes one and provides source.

Here is another one from CodeProject: How to write a loading circle animation in .NET?

Larry Smithmier
+1  A: 

I've been happy with this control (from CodeProject):

How to write a loading circle animation in .NET?

Jay Riggs
A: 

There's some more here -- shield your eyes, the page full of them is very agitated.

DOK
A: 

You should be able to use the progress bar from WPF on a WinForms window. And that one does support Marquee on Server 2008 R2.

Jonathan Allen
+1  A: 

I've used this Progress Indicator from Code Project. Not as fancy as some of the others, but it does the job.

ChrisF
I don't like fancy controls ;)
Dan Tao