PopupEventArgs(IWin32Window, Control, Boolean, Size) Konstruktor

Definicja

Inicjuje wystąpienie klasy 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)

Parametry

associatedWindow
IWin32Window

Etykietka IWin32Window narzędzia jest powiązana z.

associatedControl
Control

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

isBalloon
Boolean

true aby wskazać, że skojarzone okno etykietki 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żą do inicjowania odpowiednich, podobnie nazwanych właściwości. Parametr associatedControl może być, null jeśli okno właścicieli nie jest typu Control.

Dotyczy

Zobacz też