ToolStripStatusLabel 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ToolStripStatusLabel 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| ToolStripStatusLabel() |
初始化 ToolStripStatusLabel 类的新实例。 |
| ToolStripStatusLabel(Image) |
初始化显示指定图像的 ToolStripStatusLabel 类的新实例。 |
| ToolStripStatusLabel(String) |
初始化显示指定文本的 ToolStripStatusLabel 类的新实例。 |
| ToolStripStatusLabel(String, Image) |
初始化显示指定图像和文本的 ToolStripStatusLabel 类的新实例。 |
| ToolStripStatusLabel(String, Image, EventHandler) |
初始化显示指定图像和文本的 ToolStripStatusLabel 类的新实例,并在用户单击 ToolStripStatusLabel指定时执行指定操作。 |
| ToolStripStatusLabel(String, Image, EventHandler, String) |
使用显示指定图像和文本的指定名称初始化类的新实例 ToolStripStatusLabel ,并在用户单击 ToolStripStatusLabel指定时执行指定操作。 |
ToolStripStatusLabel()
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
初始化 ToolStripStatusLabel 类的新实例。
public:
ToolStripStatusLabel();
public ToolStripStatusLabel();
Public Sub New ()
适用于
ToolStripStatusLabel(Image)
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
初始化显示指定图像的 ToolStripStatusLabel 类的新实例。
public:
ToolStripStatusLabel(System::Drawing::Image ^ image);
public ToolStripStatusLabel(System.Drawing.Image image);
public ToolStripStatusLabel(System.Drawing.Image? image);
new System.Windows.Forms.ToolStripStatusLabel : System.Drawing.Image -> System.Windows.Forms.ToolStripStatusLabel
Public Sub New (image As Image)
参数
- image
- Image
显示在该位置的Image一个 ToolStripStatusLabel 。
适用于
ToolStripStatusLabel(String)
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
初始化显示指定文本的 ToolStripStatusLabel 类的新实例。
public:
ToolStripStatusLabel(System::String ^ text);
public ToolStripStatusLabel(string text);
public ToolStripStatusLabel(string? text);
new System.Windows.Forms.ToolStripStatusLabel : string -> System.Windows.Forms.ToolStripStatusLabel
Public Sub New (text As String)
参数
- text
- String
一个String表示要显示在该对象上的文本。ToolStripStatusLabel
适用于
ToolStripStatusLabel(String, Image)
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
初始化显示指定图像和文本的 ToolStripStatusLabel 类的新实例。
public:
ToolStripStatusLabel(System::String ^ text, System::Drawing::Image ^ image);
public ToolStripStatusLabel(string text, System.Drawing.Image image);
public ToolStripStatusLabel(string? text, System.Drawing.Image? image);
new System.Windows.Forms.ToolStripStatusLabel : string * System.Drawing.Image -> System.Windows.Forms.ToolStripStatusLabel
Public Sub New (text As String, image As Image)
参数
- text
- String
一个String表示要显示在该对象上的文本。ToolStripStatusLabel
- image
- Image
显示在该位置的Image一个 ToolStripStatusLabel 。
适用于
ToolStripStatusLabel(String, Image, EventHandler)
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
初始化显示指定图像和文本的 ToolStripStatusLabel 类的新实例,并在用户单击 ToolStripStatusLabel指定时执行指定操作。
public:
ToolStripStatusLabel(System::String ^ text, System::Drawing::Image ^ image, EventHandler ^ onClick);
public ToolStripStatusLabel(string text, System.Drawing.Image image, EventHandler onClick);
public ToolStripStatusLabel(string? text, System.Drawing.Image? image, EventHandler? onClick);
new System.Windows.Forms.ToolStripStatusLabel : string * System.Drawing.Image * EventHandler -> System.Windows.Forms.ToolStripStatusLabel
Public Sub New (text As String, image As Image, onClick As EventHandler)
参数
- text
- String
一个String表示要显示在该对象上的文本。ToolStripStatusLabel
- image
- Image
显示在该位置的Image一个 ToolStripStatusLabel 。
- onClick
- EventHandler
指定要在单击控件时执行的操作。
适用于
ToolStripStatusLabel(String, Image, EventHandler, String)
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
- Source:
- ToolStripStatusLabel.cs
使用显示指定图像和文本的指定名称初始化类的新实例 ToolStripStatusLabel ,并在用户单击 ToolStripStatusLabel指定时执行指定操作。
public:
ToolStripStatusLabel(System::String ^ text, System::Drawing::Image ^ image, EventHandler ^ onClick, System::String ^ name);
public ToolStripStatusLabel(string text, System.Drawing.Image image, EventHandler onClick, string name);
public ToolStripStatusLabel(string? text, System.Drawing.Image? image, EventHandler? onClick, string? name);
new System.Windows.Forms.ToolStripStatusLabel : string * System.Drawing.Image * EventHandler * string -> System.Windows.Forms.ToolStripStatusLabel
Public Sub New (text As String, image As Image, onClick As EventHandler, name As String)
参数
- text
- String
一个String表示要显示在该对象上的文本。ToolStripStatusLabel
- image
- Image
显示在该位置的Image一个 ToolStripStatusLabel 。
- onClick
- EventHandler
指定要在单击控件时执行的操作。
- name
- String