編輯

共用方式為


ToolStripDropDownClosingEventArgs(ToolStripDropDownCloseReason) Constructor

Definition

Initializes a new instance of the ToolStripDropDownClosingEventArgs class with the specified reason for closing.

public:
 ToolStripDropDownClosingEventArgs(System::Windows::Forms::ToolStripDropDownCloseReason reason);
public ToolStripDropDownClosingEventArgs (System.Windows.Forms.ToolStripDropDownCloseReason reason);
new System.Windows.Forms.ToolStripDropDownClosingEventArgs : System.Windows.Forms.ToolStripDropDownCloseReason -> System.Windows.Forms.ToolStripDropDownClosingEventArgs
Public Sub New (reason As ToolStripDropDownCloseReason)

Parameters

Remarks

Use data from the ToolStripDropDownClosingEventArgs class to determine which actions to take when the user closes the drop-down list but before the list is closed.

Applies to