'宣言 Public ReadOnly Property ToolbarChangeType As ToolbarChangeType
public ToolbarChangeType ToolbarChangeType {get;}
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinToolbars Private Sub UltraToolbarsManager1_ToolbarModified(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinToolbars.ToolbarModifiedEventArgs) Handles UltraToolbarsManager1.ToolbarModified Debug.WriteLine("The Toolbar with key '" + e.Toolbar.Key + "' has been modified. (modification type: '" + e.ToolbarChangeType.ToString() + "')") End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinToolbars; private void ultraToolbarsManager1_ToolbarModified(object sender, Infragistics.Win.UltraWinToolbars.ToolbarModifiedEventArgs e) { Debug.WriteLine("The Toolbar with key '" + e.Toolbar.Key + "' has been modified. (modification type: '" + e.ToolbarChangeType.ToString() + "')"); }