Ich kann ein Steuerelement zum Implementieren einer Statusleiste nicht finden. Wie kann ich es manuell machen?Statusleiste in C# Windows Forms
10
A
Antwort
23
Ich denke, Sie suchen nach dem StatusStrip Steuerelement. Hier ist an article about it.
Und hier ist ein MSDN article.
1
Sie meinen etwas wie die StatusStrip Steuerung?
0
.NET enthält eine Statusleiste. Sie finden es unter Menü & Symbolleiste. Es heißt StatusStrip.
0
Das Steuerelement heißt "StatusStrip" und befindet sich in Ihrer Toolbox. Wenn es nicht ist, können Sie es unter dem ‚System.Windows.Forms finden“ Namespace.
1
Dort wird die StatusStrip
Kontrolle, in der gefunden ‚Menüs & Symbolleiste‘ Kategorie in der Toolbox.
1
Wenn Sie möchten, um es manuell zu tun, hier ist was Sie tun müssen: seine Dock-Eigenschaft auf bottom standardmäßig
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();
}
}
}
Verwandte Themen
- 1. Windows Forms Skins in C#
- 2. Windows Forms C# .net Bereitstellungsproblem
- 3. Windows Forms-Anwendung C# | Tweet
- 4. Tiefgestellt in Text (Windows Forms) in C#
- 5. C# -Threading und Windows Forms
- 6. C# und Windows Forms-Anwendungsformulargröße
- 7. C# Windows Forms-Anwendung schließen
- 8. Werte zwischen Windows Forms in C#. NET
- 9. Outlook 2007 TreeView in Windows Forms (C#)
- 10. C++ - Klasse in C++ DLL in C# Windows Forms Klasse
- 11. Windows GUI Programmierung - C + SDK oder C# + Windows Forms
- 12. windows forms
- 13. Registerkartenindex in Windows Forms
- 14. SignalR in Windows Forms
- 15. Klassenname in Windows Forms
- 16. Quelle von Listview - Windows Forms C#
- 17. C# finanzielle Diagrammbibliothek für Windows Forms?
- 18. Welche Kontrolle hat das? - C# - Windows Forms
- 19. C# Windows Forms Referenz-Steuer - Nullreferenceexception
- 20. Trennen von Windows Forms und Klassen C#
- 21. Verwalten von Code mit C# Windows Forms
- 22. .NET SplitContainer mit C# Windows Forms
- 23. Windows Forms, C++/CLI, Pfeil von "PictureBox'es"
- 24. Cross thread Ausnahme Windows Forms C#
- 25. Windows Forms RichTextBox Cursorposition
- 26. Windows Forms Sichtbarkeitsproblem
- 27. IPC Windows Service Windows Forms
- 28. Windows Forms: Windows-Label nicht
- 29. Image in Windows Forms DataGridView
- 30. Anwendungsstart-Flags in Windows Forms?
vergessen Sie nicht an der Unterseite andocken –
@Yadyn A Statuss hat!.. –