Home > DeveloperSection > Beginner > StatusStrip Control in C#.Net

StatusStrip Control in C#.Net


C# C# 
Ratings:
0 Comment(s)
 15135  View(s)
Rate this:

StatusStrip Control in C#.Net

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 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 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 application run.

StatusStrip Control in C#.Net

StatusStrip Control in C#.Net

 

 


Don't want to miss updates? Please click the below button!

Follow MindStick