PopupEventArgs(IWin32Window, Control, Boolean, Size) Constructeur

Définition

Initialise une instance de la PopupEventArgs classe.

public:
 PopupEventArgs(System::Windows::Forms::IWin32Window ^ associatedWindow, System::Windows::Forms::Control ^ associatedControl, bool isBalloon, System::Drawing::Size size);
public PopupEventArgs(System.Windows.Forms.IWin32Window associatedWindow, System.Windows.Forms.Control associatedControl, bool isBalloon, System.Drawing.Size size);
new System.Windows.Forms.PopupEventArgs : System.Windows.Forms.IWin32Window * System.Windows.Forms.Control * bool * System.Drawing.Size -> System.Windows.Forms.PopupEventArgs
Public Sub New (associatedWindow As IWin32Window, associatedControl As Control, isBalloon As Boolean, size As Size)

Paramètres

associatedWindow
IWin32Window

IWin32Window L’info-bulle est liée.

associatedControl
Control

Pour Control lequel l’info-bulle est créée.

isBalloon
Boolean

true pour indiquer que la fenêtre Info-bulle associée a une apparence de style bulle ; sinon, false pour indiquer que la fenêtre Info-bulle a une apparence rectangulaire standard.

size
Size

Info-bulle Size .

Remarques

Les paramètres du PopupEventArgs constructeur sont utilisés pour initialiser les propriétés correspondantes, de même nommées. Le associatedControl paramètre peut être null si la fenêtre propriétaire n’est pas de type Control.

S’applique à

Voir aussi