C# StatusBar Example
Status bars play an important part in informing the user of the use of controls, the status of progress of the application etc. .Net provides a new control – the StatusStrip control – an extension of StatusBar
Let us have a small Windows form like the one as shown below.
Select the StatusStrip control in the ToolBox and drop it on the form
When you drop the control will be placed on the Tray below the form and a StatusStrip with a ToolStripLabel will be added to the Form
Now the ToolStripLabel can be used to apprise the user of the context and progress as shown below
private void buttonSelectXL_MouseHover(object sender, EventArgs e)
{
toolStripStatusLabel1.Text = "Click the Button to select the file";
}
.NET StatusBar Example, .NET ToolStripLabel Example
See also : Hide Excel Status Bar / Show Excel Status Bar using VBA
nice tip
ReplyDeletei got good idea to use status strip