'宣言 Public Class PaneEventArgs Inherits System.EventArgs
public class PaneEventArgs : System.EventArgs
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinDock Private Sub ultraDockManager1_AfterDockChange(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinDock.PaneEventArgs) Handles ultraDockManager1.AfterDockChange ' The AfterDockChange provides a notification after ' the drag operation for a pane has completed. ' ' Log which pane was moved Debug.Write(String.Format("The '{0}' pane was repositioned", e.Pane)) End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinDock; using System.Diagnostics; private void ultraDockManager1_AfterDockChange(object sender, Infragistics.Win.UltraWinDock.PaneEventArgs e) { // The AfterDockChange provides a notification after // the drag operation for a pane has completed. // // Log which pane was moved Debug.Write( string.Format("The '{0}' pane was repositioned", e.Pane ) ); }