I never used progres开发者_如何学编程s bar. Searched in internet but could not find something useful. So i wanna to make progress bar like this:
which must work 10 seconds i think it must easy. Thanks.
WPF: IsIndeterminate
progressBar.IsIndeterminate = true;
WinForms: Style Marquee
:
progressBar.Style = ProgressBarStyle.Marquee;
In WPF you'd set the IsIndeterminate property of the ProgressBar to true to get the effect you want. However, I don't think it provides a simple property for controlling the speed of it. You'd probably have to re-template the progress bar or something.
精彩评论