バージョン

ToolbarEventHandler デリゲート

引数としてツールバーで渡すイベントを処理するためのデリゲート。
シンタックス
'宣言
 
Public Delegate Sub ToolbarEventHandler( _
   ByVal sender As Object, _
   ByVal e As ToolbarEventArgs _
) 
public delegate void ToolbarEventHandler( 
   object sender,
   ToolbarEventArgs e
)

パラメータ

sender
e
使用例
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.");

		}
参照