In Windows Application,A ProgressBar control, Which is available in ToolBox, is used to represent the progress of a lengthy operation that takes time where a user must wait for the operation to be finished.

Below is the code when you try to show progressbar while foreach loop is running. same concept you can apply for for loop.

Leave a comment

Trending