开发者

Is there a freely available "Spinning Wheel"-like control anywhere for Windows Forms?

开发者 https://www.devze.com 2023-01-05 15:33 出处:网络
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开发者_运维知

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.


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.


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


WPF : Circular Progress Bar describes one and provides source.

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


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


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

How to write a loading circle animation in .NET?


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.

0

精彩评论

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