Język

PopupEventArgs(IWin32Window, Control, Boolean, Size) Konstruktor

Definicja

Inicjuje PopupEventArgs wystąpienie klasy .

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

Etykietka IWin32Window narzędzia jest powiązana z.

associatedControl
Control

Etykietka Control narzędzia, dla której jest tworzona.

isBalloon
Boolean

true aby wskazać, że skojarzone okno Etykietka narzędzia ma wygląd w stylu balonu; w przeciwnym razie, aby wskazać, false że okno Etykietka narzędzia ma standardowy prostokątny wygląd.

size
Size

Etykietka Size narzędzia.

Uwagi

Parametry konstruktora PopupEventArgs są używane do inicjowania odpowiednich, podobnie nazwanych właściwości. Parametr associatedControl może być null , jeśli okno własności nie jest typu Control.

Dotyczy

Zobacz też