'宣言 Protected Overridable Sub OnAfterScroll( _ ByVal e As AfterDayViewScrollEventArgs _ )
protected virtual void OnAfterScroll( AfterDayViewScrollEventArgs e )
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Private Sub UltraDayView1_AfterScroll(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinSchedule.AfterDayViewScrollEventArgs) Handles UltraDayView1.AfterScroll Debug.WriteLine("The DayView has been scrolled. The starting time of the new first visible time slot is: " + e.TimeSlot.StartTime.ToShortTimeString()) End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; private void ultraDayView1_AfterScroll(object sender, Infragistics.Win.UltraWinSchedule.AfterDayViewScrollEventArgs e) { Debug.WriteLine("The DayView has been scrolled. The starting time of the new first visible time slot is: " + e.TimeSlot.StartTime.ToShortTimeString()); }