'宣言 Public Delegate Sub InitializeDayEventHandler( _ ByVal sender As Object, _ ByVal e As InitializeDayEventArgs _ )
public delegate void InitializeDayEventHandler( object sender, InitializeDayEventArgs e )
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Imports System.Diagnostics Private Sub ultraCalendarInfo1_InitializeDay(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinSchedule.InitializeDayEventArgs) Handles ultraCalendarInfo1.InitializeDay '---------------------------------------------------------------------------------------------------- ' 説明 ' InitializeDay ' ' ユーザー インターフェイスの操作または GetDay メソッドの呼び出しで、 ' Day オブジェクトが初期化されたときに発生します ' '---------------------------------------------------------------------------------------------------- Debug.WriteLine("================================================================================") Debug.WriteLine("InitializeDay event fired for " + e.Day.Date.ToLongDateString()) Debug.WriteLine("================================================================================") Debug.WriteLine("") End Sub
using System.Diagnostics; using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; private void ultraCalendarInfo1_InitializeDay(object sender, Infragistics.Win.UltraWinSchedule.InitializeDayEventArgs e) { //---------------------------------------------------------------------------------------------------- // 説明 // InitializeDay // // ユーザー インターフェイスの操作または GetDay メソッドの呼び出しで、 // Day オブジェクトが初期化されたときに発生します // //---------------------------------------------------------------------------------------------------- Debug.WriteLine( "================================================================================" ); Debug.WriteLine( "InitializeDay event fired for " + e.Day.Date.ToLongDateString() ); Debug.WriteLine( "================================================================================" ); Debug.WriteLine( "" ); }