[ACCEPTED]-Status bar in C# Windows Forms-winforms

Accepted answer
Score: 25

I think you're looking for the StatusStrip 1 control. Here's an article about it.

And here's an MSDN article.

Score: 2

If you want to do it manually, here's what 1 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();
    }

  }
}
Score: 1

You mean something like the StatusStrip control?

0

Score: 1

There is the StatusStrip control, found in the "Menus 1 & Toolbars" category in the toolbox.

Score: 0

.NET does include a statusbar. You can find 1 it under Menu & Toolbar. It's called StatusStrip.

Score: 0

The control is called 'StatusStrip' and 2 it is located in your toolbox. If it isn't 1 you can find it under the 'System.Windows.Forms" namespace.

More Related questions