PopupEventArgs(IWin32Window, Control, Boolean, Size) Konstruktor

Definice

Inicializuje instanci PopupEventArgs třídy.

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)

Parametry

associatedWindow
IWin32Window

Popis IWin32Window je vázán.

associatedControl
Control

Popis Control , pro který se vytváří.

isBalloon
Boolean

true chcete-li označit, že přidružené okno popisku má vzhled bubliny; Jinak chcete označit, false že okno Popis má standardní obdélníkový vzhled.

size
Size

Popis Size tlačítka.

Poznámky

Parametry konstruktoru PopupEventArgs slouží k inicializaci odpovídajících, podobně pojmenovaných vlastností. Parametr associatedControl může být null v případě, že vlastnící okno není typu Control.

Platí pro

Viz také