'宣言 Public Delegate Sub ToolDropdownEventHandler( _ ByVal sender As Object, _ ByVal e As ToolDropdownEventArgs _ )
public delegate void ToolDropdownEventHandler( object sender, ToolDropdownEventArgs e )
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinToolbars Private Sub UltraToolbarsManager1_AfterToolDropdown(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinToolbars.ToolDropdownEventArgs) Handles UltraToolbarsManager1.AfterToolDropdown Debug.WriteLine("The tool with key '" + e.Tool.Key + "' has been dropped down.") End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinToolbars; private void ultraToolbarsManager1_AfterToolDropdown(object sender, Infragistics.Win.UltraWinToolbars.ToolDropdownEventArgs e) { Debug.WriteLine("The tool with key '" + e.Tool.Key + "' has been dropped down."); }