'宣言 Public Class ToolDropdownEventArgs Inherits ToolEventArgs
public class ToolDropdownEventArgs : ToolEventArgs
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."); }