2009-06-09 53 views

Respuesta

0

.NET incluye una barra de estado. Puede encontrarlo en Menú & Barra de herramientas. Se llama StatusStrip.

0

El control se llama 'StatusStrip' y se encuentra en su caja de herramientas. Si no es así se puede encontrar bajo el 'System.Windows.Forms" espacio de nombres.

1

No es el control StatusStrip, que se encuentra en la categoría de 'Menús & barras de herramientas' en la caja de herramientas.

1

Si desea hacerlo de forma manual, esto es lo que tendrá que hacer:

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(); 
    } 

    } 
} 
+0

no se olvide de muelle para el fondo –

+0

@Yadyn Un StatusStrip tiene su propiedad Dock configurado en base por defecto!.. –

Cuestiones relacionadas