Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
SQL Server

Working with Status Strip Label control in C# and VB using .NET 2.0.

Author: Zunnair
Download Source Code :

In this simple article you will learn that how to work with status strip Label.

Simply just create New Project of windows application in C#.


Drag 1 buttons, 1 textbox and one status strip control on the form. Now click on status strip and now click on label.



Now write following code on form Load




private void Form1_Load(object sender, EventArgs e)


            this.Text = "DevAsp Status Strip APP";

            button1.Text = "Chnage Strip Label Text";

            textBox1.Text = "Copyrights 2008 Devasp.";

            toolStripStatusLabel1.Text = "Copyrights 2008 Devasp.";


            textBox2.Text = "";

            toolStripStatusLabel2.Text = "";

            toolStripStatusLabel2.IsLink = true;






Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)

        Me.Text = "DevAsp Status Strip APP"

        button1.Text = "Chnage Strip Label Text"

        textBox1.Text = "Copyrights 2008 Devasp."

        toolStripStatusLabel1.Text = "Copyrights 2008 Devasp."


        textBox2.Text = ""

        toolStripStatusLabel2.Text = ""

        toolStripStatusLabel2.IsLink = True


    End Sub


Now write following code on Button Click events


private void button1_Click(object sender, EventArgs e)


            toolStripStatusLabel1.Text = textBox1.Text;

            toolStripStatusLabel2.Text = textBox2.Text;



Private Sub button1_Click(ByVal sender As Object, ByVal e As EventArgs)


        toolStripStatusLabel1.Text = textBox1.Text


        toolStripStatusLabel2.Text = textBox2.Text


    End Sub

Article Comments
Nice - thanks!

Posted on 10/30/2008 7:48:31 AM by Roger Pearse

Very concise and didactical, just what i am looking.

Posted on 5/27/2010 1:24:13 PM by Victor

Zunnair... Boss this is the way explaining things... Thanks alot

Posted on 9/7/2010 3:19:50 AM by Prasoon

Add Article Comment:
Name :
Email Address :
Comments :
<< Map Functions Keys with buttons on Window Form in C# and VB using .NET 2.0

Disclaimer - Privacy
© 2002-2017