バージョン

ChangedEventHandler デリゲート

/// ChangedEventHandlerのデリゲート。
シンタックス
'宣言
 
Public Delegate Sub ChangedEventHandler( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
) 
public delegate void ChangedEventHandler( 
   object sender,
   EventArgs e
)

パラメータ

sender
e
使用例
Private Sub ultraTree1_AfterDelete(ByVal sender As Object, ByVal e As System.EventArgs) Handles ultraTree1.AfterDelete

    Debug.WriteLine("Nodes have been deleted.")

    If Me.ultraTree1.ActiveNode Is Nothing Then
        Debug.WriteLine("    No active node.")
    Else
        Debug.WriteLine("    Active node is " + Me.ultraTree1.ActiveNode.Key)
    End If

End Sub
private void ultraTree1_AfterDelete(object sender, System.EventArgs e)
{

	Debug.WriteLine( "Nodes have been deleted." );
	if ( this.ultraTree1.ActiveNode == null )
		Debug.WriteLine( "    No active node." );
	else
		Debug.WriteLine( "    Active node is " + this.ultraTree1.ActiveNode.Key );

}
参照