ToolStripLabel Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ToolStripLabel.

Przeciążenia

ToolStripLabel()

Inicjuje nowe wystąpienie klasy ToolStripLabel.

ToolStripLabel(Image)

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając obraz do wyświetlenia.

ToolStripLabel(String)

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając tekst do wyświetlenia.

ToolStripLabel(String, Image)

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając tekst i obraz do wyświetlenia.

ToolStripLabel(String, Image, Boolean)

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając tekst i obraz do wyświetlenia oraz to, czy ToolStripLabel działa jako link.

ToolStripLabel(String, Image, Boolean, EventHandler)

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając tekst i obraz do wyświetlenia, czy ToolStripLabel działa jako link, i udostępnia procedurę Click obsługi zdarzeń.

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

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając tekst i obraz, który ma być wyświetlany, czy ToolStripLabel działa jako link, oraz udostępnia procedurę Click obsługi zdarzeń i nazwę elementu ToolStripLabel.

ToolStripLabel()

Inicjuje nowe wystąpienie klasy ToolStripLabel.

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

Dotyczy

ToolStripLabel(Image)

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając obraz do wyświetlenia.

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

Element Image do wyświetlenia w obiekcie ToolStripLabel.

Dotyczy

ToolStripLabel(String)

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając tekst do wyświetlenia.

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

Tekst do wyświetlenia w obiekcie ToolStripLabel.

Dotyczy

ToolStripLabel(String, Image)

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając tekst i obraz do wyświetlenia.

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

Tekst do wyświetlenia w obiekcie ToolStripLabel.

image
Image

Element Image do wyświetlenia w obiekcie ToolStripLabel.

Dotyczy

ToolStripLabel(String, Image, Boolean)

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając tekst i obraz do wyświetlenia oraz to, czy ToolStripLabel działa jako link.

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

Tekst do wyświetlenia w obiekcie ToolStripLabel.

image
Image

Element Image do wyświetlenia w obiekcie ToolStripLabel.

isLink
Boolean

true jeśli element ToolStripLabel działa jako link; falsew przeciwnym razie .

Dotyczy

ToolStripLabel(String, Image, Boolean, EventHandler)

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając tekst i obraz do wyświetlenia, czy ToolStripLabel działa jako link, i udostępnia procedurę Click obsługi zdarzeń.

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

Tekst do wyświetlenia w obiekcie ToolStripLabel.

image
Image

Element Image do wyświetlenia w obiekcie ToolStripLabel.

isLink
Boolean

true jeśli element ToolStripLabel działa jako link; falsew przeciwnym razie .

onClick
EventHandler

Procedura Click obsługi zdarzeń.

Dotyczy

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

Inicjuje ToolStripLabel nowe wystąpienie klasy, określając tekst i obraz, który ma być wyświetlany, czy ToolStripLabel działa jako link, oraz udostępnia procedurę Click obsługi zdarzeń i nazwę elementu 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

Tekst do wyświetlenia w obiekcie ToolStripLabel.

image
Image

Element Image do wyświetlenia w obiekcie ToolStripLabel.

isLink
Boolean

true jeśli element ToolStripLabel działa jako link; falsew przeciwnym razie .

onClick
EventHandler

Procedura Click obsługi zdarzeń.

name
String

Nazwa elementu ToolStripLabel.

Dotyczy