ToolStripLabel Konstruktory

Definice

Inicializuje novou instanci ToolStripLabel třídy.

Přetížení

ToolStripLabel()

Inicializuje novou instanci ToolStripLabel třídy.

ToolStripLabel(Image)

Inicializuje novou instanci ToolStripLabel třídy a určí obrázek, který se má zobrazit.

ToolStripLabel(String)

Inicializuje novou instanci ToolStripLabel třídy a určí text, který se má zobrazit.

ToolStripLabel(String, Image)

Inicializuje novou instanci ToolStripLabel třídy s určením textu a obrázku, který se má zobrazit.

ToolStripLabel(String, Image, Boolean)

Inicializuje novou instanci ToolStripLabel třídy, určení textu a obrázku, který se má zobrazit a zda ToolStripLabel funguje jako odkaz.

ToolStripLabel(String, Image, Boolean, EventHandler)

Inicializuje novou instanci ToolStripLabel třídy, určuje text a obrázek, který se má zobrazit, zda ToolStripLabel funguje jako odkaz a poskytuje obslužnou rutinu Click události.

ToolStripLabel(String, Image, Boolean, EventHandler, String)

Inicializuje novou instanci ToolStripLabel třídy, určuje text a obrázek, který se má zobrazit, zda ToolStripLabel funguje jako odkaz a poskytuje obslužnou rutinu Click a název události pro ToolStripLabel.

ToolStripLabel()

Inicializuje novou instanci ToolStripLabel třídy.

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

Platí pro

ToolStripLabel(Image)

Inicializuje novou instanci ToolStripLabel třídy a určí obrázek, který se má zobrazit.

public:
 ToolStripLabel(System::Drawing::Image ^ image);
public ToolStripLabel (System.Drawing.Image image);
public ToolStripLabel (System.Drawing.Image? image);
new System.Windows.Forms.ToolStripLabel : System.Drawing.Image -> System.Windows.Forms.ToolStripLabel
Public Sub New (image As Image)

Parametry

image
Image

Zobrazí Image se na ToolStripLabel.

Platí pro

ToolStripLabel(String)

Inicializuje novou instanci ToolStripLabel třídy a určí text, který se má zobrazit.

public:
 ToolStripLabel(System::String ^ text);
public ToolStripLabel (string text);
public ToolStripLabel (string? text);
new System.Windows.Forms.ToolStripLabel : string -> System.Windows.Forms.ToolStripLabel
Public Sub New (text As String)

Parametry

text
String

Text, který se má zobrazit na ToolStripLabel.

Platí pro

ToolStripLabel(String, Image)

Inicializuje novou instanci ToolStripLabel třídy s určením textu a obrázku, který se má zobrazit.

public:
 ToolStripLabel(System::String ^ text, System::Drawing::Image ^ image);
public ToolStripLabel (string text, System.Drawing.Image image);
public ToolStripLabel (string? text, System.Drawing.Image? image);
new System.Windows.Forms.ToolStripLabel : string * System.Drawing.Image -> System.Windows.Forms.ToolStripLabel
Public Sub New (text As String, image As Image)

Parametry

text
String

Text, který se má zobrazit na ToolStripLabel.

image
Image

Zobrazí Image se na ToolStripLabel.

Platí pro

ToolStripLabel(String, Image, Boolean)

Inicializuje novou instanci ToolStripLabel třídy, určení textu a obrázku, který se má zobrazit a zda ToolStripLabel funguje jako odkaz.

public:
 ToolStripLabel(System::String ^ text, System::Drawing::Image ^ image, bool isLink);
public ToolStripLabel (string text, System.Drawing.Image image, bool isLink);
public ToolStripLabel (string? text, System.Drawing.Image? image, bool isLink);
new System.Windows.Forms.ToolStripLabel : string * System.Drawing.Image * bool -> System.Windows.Forms.ToolStripLabel
Public Sub New (text As String, image As Image, isLink As Boolean)

Parametry

text
String

Text, který se má zobrazit na ToolStripLabel.

image
Image

Zobrazí Image se na ToolStripLabel.

isLink
Boolean

truepokud funguje ToolStripLabel jako odkaz, v opačném případě . false

Platí pro

ToolStripLabel(String, Image, Boolean, EventHandler)

Inicializuje novou instanci ToolStripLabel třídy, určuje text a obrázek, který se má zobrazit, zda ToolStripLabel funguje jako odkaz a poskytuje obslužnou rutinu Click události.

public:
 ToolStripLabel(System::String ^ text, System::Drawing::Image ^ image, bool isLink, EventHandler ^ onClick);
public ToolStripLabel (string text, System.Drawing.Image image, bool isLink, EventHandler onClick);
public ToolStripLabel (string? text, System.Drawing.Image? image, bool isLink, EventHandler? onClick);
new System.Windows.Forms.ToolStripLabel : string * System.Drawing.Image * bool * EventHandler -> System.Windows.Forms.ToolStripLabel
Public Sub New (text As String, image As Image, isLink As Boolean, onClick As EventHandler)

Parametry

text
String

Text, který se má zobrazit na ToolStripLabel.

image
Image

Zobrazí Image se na ToolStripLabel.

isLink
Boolean

truepokud funguje ToolStripLabel jako odkaz, v opačném případě . false

onClick
EventHandler

Obslužná rutina Click události.

Platí pro

ToolStripLabel(String, Image, Boolean, EventHandler, String)

Inicializuje novou instanci ToolStripLabel třídy, určuje text a obrázek, který se má zobrazit, zda ToolStripLabel funguje jako odkaz a poskytuje obslužnou rutinu Click a název události pro ToolStripLabel.

public:
 ToolStripLabel(System::String ^ text, System::Drawing::Image ^ image, bool isLink, EventHandler ^ onClick, System::String ^ name);
public ToolStripLabel (string text, System.Drawing.Image image, bool isLink, EventHandler onClick, string name);
public ToolStripLabel (string? text, System.Drawing.Image? image, bool isLink, EventHandler? onClick, string? name);
new System.Windows.Forms.ToolStripLabel : string * System.Drawing.Image * bool * EventHandler * string -> System.Windows.Forms.ToolStripLabel
Public Sub New (text As String, image As Image, isLink As Boolean, onClick As EventHandler, name As String)

Parametry

text
String

Text, který se má zobrazit na ToolStripLabel.

image
Image

Zobrazí Image se na ToolStripLabel.

isLink
Boolean

truepokud funguje ToolStripLabel jako odkaz, v opačném případě . false

onClick
EventHandler

Obslužná rutina Click události.

name
String

Název procesu ToolStripLabel.

Platí pro