StatusStrip control is a powerful StatusBar control.
StatusStrip provides ProgressBar, DropdownButton, SplitButton, and Label features, you can add a progress bar, a drop-down button, a SplitButton, or a label control to the StatusStrip itself.
How to use StatusStrip Control
Drag and drop StatusStrip control from the toolbox on the window Form.
Select-control which you want to show in StatusStrip.
Here progress bar is added. By default maximum value of ProgressBar is 100 and the minimum value is 0.
Code:
private void frmStatusStrip_Load(object sender, EventArgs e)
{
while (toolStripProgressBar1.Value < 100)
{
// Progresbar value will increase 5 untill its value will not reach to 100.
toolStripProgressBar1.Value += 5;
}
}
Progressbar will show when the application run.
Leave Comment