'宣言 Public Delegate Sub GroupDraggingEventHandler( _ ByVal sender As Object, _ ByVal e As CancelableGroupEventArgs _ )
public delegate void GroupDraggingEventHandler( object sender, CancelableGroupEventArgs e )
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinExplorerBar Private Sub ultraExplorerBar1_GroupDragging(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinExplorerBar.CancelableGroupEventArgs) Handles ultraExplorerBar1.GroupDragging Debug.WriteLine(String.Format("The group '{0}' is being dragged", e.Group.Text)) End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinExplorerBar; private void ultraExplorerBar1_GroupDragging(object sender, Infragistics.Win.UltraWinExplorerBar.CancelableGroupEventArgs e) { Debug.WriteLine(string.Format("The group '{0}' is being dragged", e.Group.Text)); }