ToolStripDropDownItem.DropDownClosed イベント
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Public Event DropDownClosed As EventHandler
Dim instance As ToolStripDropDownItem Dim handler As EventHandler AddHandler instance.DropDownClosed, handler
public event EventHandler DropDownClosed
public: event EventHandler^ DropDownClosed { void add (EventHandler^ value); void remove (EventHandler^ value); }
/** @event */ public void add_DropDownClosed (EventHandler value) /** @event */ public void remove_DropDownClosed (EventHandler value)


複数の ToolStripDropDownItem コントロールの DropDownClosed イベントを処理する方法を次のコード例に示します。このコード例は、ToolStripDropDownItem クラスのトピックで取り上げているコード例の一部分です。
' This method handles the DropDownClosed event from a ' ToolStripDropDownItem. It displays the value of the ' item's Text property in the form's StatusStrip control. Sub toolStripDropDownItem_DropDownClosed(ByVal sender As Object, ByVal e As EventArgs) Dim item As ToolStripDropDownItem = CType(sender, ToolStripDropDownItem) Dim msg As String = String.Format("Item closed: {0}", item.Text) Me.toolStripStatusLabel1.Text = msg End Sub
// This method handles the DropDownClosed event from a // ToolStripDropDownItem. It displays the value of the // item's Text property in the form's StatusStrip control. void toolStripDropDownItem_DropDownClosed(object sender, EventArgs e) { ToolStripDropDownItem item = sender as ToolStripDropDownItem; string msg = String.Format("Item closed: {0}", item.Text); this.toolStripStatusLabel1.Text = msg; }

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からToolStripDropDownItem.DropDownClosed イベントを検索する場合は、下記のリンクをクリックしてください。

- ToolStripDropDownItem.DropDownClosed イベントのページへのリンク