Private Sub Set_the_Active_Day_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Me.UltraCalendarInfo1.ActiveDay = _ Me.UltraCalendarInfo1.GetDay(DateTime.Today.AddDays(2), True) End Sub
You can use the ActiveDay property off WinCalendarInfo™ to change the active day of all WinSchedule™ controls sharing the same WinCalendarInfo instance.
In Visual Basic:
Private Sub Set_the_Active_Day_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Me.UltraCalendarInfo1.ActiveDay = _ Me.UltraCalendarInfo1.GetDay(DateTime.Today.AddDays(2), True) End Sub
In C#:
private void Set_the_Active_Day_Load(object sender, EventArgs e) { this.ultraCalendarInfo1.ActiveDay = this.ultraCalendarInfo1.GetDay(DateTime.Today.AddDays(2), true); }