articles

Home / DeveloperSection / Articles / StatusStrip Control in C#.Net

StatusStrip Control in C#.Net

StatusStrip Control in C#.Net

Pushpendra Singh 25175 24-Jan-2011

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.

StatusStrip Control in C#.Net

StatusStrip Control in C#.Net

StatusStrip Control in C#.Net

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.

StatusStrip Control in C#.Net

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.

StatusStrip Control in C#.Net

StatusStrip Control in C#.Net 

 


Updated 31-Jan-2020

Leave Comment

Comments

Liked By