I cannot find a control for implementing Status bar. How to do it manually?
+10
A:
I think you're looking for the StatusStrip control.
Here's an article about it.
And here's an msdn article.
Joseph
2009-06-09 12:24:11
A:
.Net does include a statusbar. You can find it under Menu & Toolbar. Its called StatusStrip.
Ikke
2009-06-09 12:24:36
A:
The control is called 'StatusStrip' and it is located in your toolbox. If it isn't you can find it under the 'System.Windows.Forms" namespace.
sgmeyer
2009-06-09 12:25:26
+1
A:
There is the StatusStrip
control, found in the "Menus & Toolbars" category in the toolbox.
Joey
2009-06-09 12:26:01
A:
If you want to do it manually, here's what you will have to do:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
private System.Windows.Forms.StatusStrip statusStrip2;
public Form1()
{
InitializeComponent();
this.statusStrip2 = new System.Windows.Forms.StatusStrip();
this.SuspendLayout();
this.statusStrip2.Location = new System.Drawing.Point(0, 251);
this.statusStrip2.Name = "statusStrip2";
this.statusStrip2.Size = new System.Drawing.Size(292, 22);
this.statusStrip2.TabIndex = 0;
this.statusStrip2.Text = "statusStrip2";
this.Controls.Add(this.statusStrip2);
this.PerformLayout();
}
}
}
Magnus Johansson
2009-06-09 12:29:45
Don't forget to Dock to the bottom!
Yadyn
2010-04-09 21:32:31
@Yadyn. A StatusStrip has its Dock property set to Bottom by default.
Magnus Johansson
2010-04-10 10:31:05