Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Private Sub UltraDayView1_AfterTimeSlotSelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles UltraDayView1.AfterTimeSlotSelectionChanged Debug.WriteLine("The Time Slot selection has changed. The new selected Time Slot range is: " + Me.UltraDayView1.SelectedTimeSlotRange.StartDateTime.ToLongTimeString() + " - " + Me.UltraDayView1.SelectedTimeSlotRange.EndDateTime.ToLongTimeString()) End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; private void ultraDayView1_AfterTimeSlotSelectionChanged(object sender, System.EventArgs e) { Debug.WriteLine("The Time Slot selection has changed. The new selected Time Slot range is: " + this.ultraDayView1.SelectedTimeSlotRange.StartDateTime.ToLongTimeString() + " - " + this.ultraDayView1.SelectedTimeSlotRange.EndDateTime.ToLongTimeString()); }