語言

ToolStripStatusLabel 建構函式

定義

初始化 ToolStripStatusLabel 類別的新執行個體。

多載

名稱 Description
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()

來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs

初始化 ToolStripStatusLabel 類別的新執行個體。

public:
 ToolStripStatusLabel();
public ToolStripStatusLabel();
Public Sub New ()

適用於

ToolStripStatusLabel(Image)

來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
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)

來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
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

A String 代表要顯示在 ToolStripStatusLabel.

適用於

ToolStripStatusLabel(String, Image)

來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
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

A String 代表要顯示在 ToolStripStatusLabel.

image
Image

一個 Image 顯示在 ToolStripStatusLabel。

適用於

ToolStripStatusLabel(String, Image, EventHandler)

來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
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

A String 代表要顯示在 ToolStripStatusLabel.

image
Image

一個 Image 顯示在 ToolStripStatusLabel。

onClick
EventHandler

指定按下控制鍵時要執行的動作。

適用於

ToolStripStatusLabel(String, Image, EventHandler, String)

來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
ToolStripStatusLabel.cs
來源:
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

A String 代表要顯示在 ToolStripStatusLabel.

image
Image

一個 Image 顯示在 ToolStripStatusLabel。

onClick
EventHandler

指定按下控制鍵時要執行的動作。

name
String

這個名稱 ToolStripStatusLabel。

適用於