'宣言 Public ReadOnly Property Toolbar As UltraToolbar
public UltraToolbar Toolbar {get;}
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinToolbars Private Sub UltraToolbarsManager1_AfterToolbarReset(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinToolbars.ToolbarEventArgs) Handles UltraToolbarsManager1.AfterToolbarReset Debug.WriteLine("The toolbar with key '" + e.Toolbar.Key + "' has been reset.") End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinToolbars; private void ultraToolbarsManager1_AfterToolbarReset(object sender, Infragistics.Win.UltraWinToolbars.ToolbarEventArgs e) { Debug.WriteLine("The toolbar with key '" + e.Toolbar.Key + "' has been reset."); }