C# – How to make an indeterminate progress bar in WinForms

cprogress-barwinforms

How do you make an indeterminate progress bar in a WinForms application? In Silverlight and WPF, you would simply set the ProgressBar's IsIndeterminate property to true. However, this property does not exist in WinForms. How would you create an indeterminate progress bar in WinForms?

Best Answer

Set the Style on the ProgressBar to Marquee