We will generate 4 MessageBoxes by clicking the Button1 Control and everytime a messagebox shows up, a ProgressBar step will be taken.
Progress Bar Class : In .Net Framework 4.0 A ProgressBar control consists of a window that is filled, by default from left to right, as an operation progresses. The control has a range and a current position. ProgressBar overrides the metadata of the Maximum property and sets its default to 100. ProgressBar overrides the metadata of the Focusable property and sets its default to false. For more information, see Dependency Properties Overview.
Customizing the ProgressBar Control To apply the same property settings to multiple Progress Bar controls, use the Style property. You can modify the default ControlTemplate to give the control a unique appearance. For more information about creating a ControlTemplate, see …