PopupEventArgs(IWin32Window, Control, Boolean, Size) Constructeur

Définition

Initialise une instance de la classe PopupEventArgs.

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);
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 auquel l'info-bulle est liée.

associatedControl
Control

Control pour lequel l'info-bulle est créée.

isBalloon
Boolean

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

size
Size

Size de l'info-bulle.

Remarques

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

S’applique à

Voir aussi