ToolStripLabel Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe ToolStripLabel.
Surcharges
| Nom | Description |
|---|---|
| ToolStripLabel() |
Initialise une nouvelle instance de la classe ToolStripLabel. |
| ToolStripLabel(Image) |
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant l’image à afficher. |
| ToolStripLabel(String) |
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant le texte à afficher. |
| ToolStripLabel(String, Image) |
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant le texte et l’image à afficher. |
| ToolStripLabel(String, Image, Boolean) |
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant le texte et l’image à afficher et si les ToolStripLabel actions en tant que lien. |
| ToolStripLabel(String, Image, Boolean, EventHandler) |
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant le texte et l’image à afficher, si le ToolStripLabel rôle est un lien et fournit un gestionnaire d’événements Click . |
| ToolStripLabel(String, Image, Boolean, EventHandler, String) |
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant le texte et l’image à afficher, si le ToolStripLabel fait d’agir en tant que lien et en fournissant un gestionnaire d’événements et un Click nom pour le ToolStripLabel. |
ToolStripLabel()
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
Initialise une nouvelle instance de la classe ToolStripLabel.
public:
ToolStripLabel();
public ToolStripLabel();
Public Sub New ()
S’applique à
ToolStripLabel(Image)
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant l’image à afficher.
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)
Paramètres
- image
- Image
À Image afficher sur le ToolStripLabel.
S’applique à
ToolStripLabel(String)
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant le texte à afficher.
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)
Paramètres
- text
- String
Texte à afficher sur le ToolStripLabel.
S’applique à
ToolStripLabel(String, Image)
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant le texte et l’image à afficher.
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)
Paramètres
- text
- String
Texte à afficher sur le ToolStripLabel.
- image
- Image
À Image afficher sur le ToolStripLabel.
S’applique à
ToolStripLabel(String, Image, Boolean)
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant le texte et l’image à afficher et si les ToolStripLabel actions en tant que lien.
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)
Paramètres
- text
- String
Texte à afficher sur le ToolStripLabel.
- image
- Image
À Image afficher sur le ToolStripLabel.
- isLink
- Boolean
true si l’objet ToolStripLabel agit en tant que lien ; sinon, false.
S’applique à
ToolStripLabel(String, Image, Boolean, EventHandler)
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant le texte et l’image à afficher, si le ToolStripLabel rôle est un lien et fournit un gestionnaire d’événements Click .
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)
Paramètres
- text
- String
Texte à afficher sur le ToolStripLabel.
- image
- Image
À Image afficher sur le ToolStripLabel.
- isLink
- Boolean
true si l’objet ToolStripLabel agit en tant que lien ; sinon, false.
- onClick
- EventHandler
Gestionnaire d’événements Click .
S’applique à
ToolStripLabel(String, Image, Boolean, EventHandler, String)
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
- Source:
- ToolStripLabel.cs
Initialise une nouvelle instance de la ToolStripLabel classe, en spécifiant le texte et l’image à afficher, si le ToolStripLabel fait d’agir en tant que lien et en fournissant un gestionnaire d’événements et un Click nom pour le 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)
Paramètres
- text
- String
Texte à afficher sur le ToolStripLabel.
- image
- Image
À Image afficher sur le ToolStripLabel.
- isLink
- Boolean
true si l’objet ToolStripLabel agit en tant que lien ; sinon, false.
- onClick
- EventHandler
Gestionnaire d’événements Click .
- name
- String
Nom du ToolStripLabel.