How to make an indeterminate progress bar in WinFo

2019-02-11 10:51发布

问题:

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?

回答1:

Set the Style on the ProgressBar to Marquee