PopupEventArgs(IWin32Window, Control, Boolean, Size) 建構函式

定義

初始化 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)

參數

associatedWindow
IWin32Window

工具提示所繫結的 IWin32Window

associatedControl
Control

Control,工具提示是為其所建立。

isBalloon
Boolean

true 表示關聯的工具提示視窗具有汽球樣式的外觀,否則為表示工具提示視窗具有標準矩形外觀的 false

size
Size

工具提示的 Size

備註

建構函式的參數 PopupEventArgs 可用來初始化對應的類似具名屬性。 如果擁有視窗不是 型 Control 別,參數 associatedControl 可以是 null

適用於

另請參閱