DateTimePicker adv is Changed in Windows Forms

28 Apr 20211 minute to read

Calendar DateChanged event is raised when a date in the DateTimePickerAdv is changed using the keys, or using the mouse.

this.dateTimePickerAdv1.Calendar.DateChanged += new EventHandler(Calendar_DateChanged);
void Calendar_DateChanged(object sender, EventArgs e)
   Console.WriteLine("Date Changed");
Me.dateTimePickerAdv1.Calendar.DateChanged += New EventHandler(Calendar_DateChanged)
Private Sub Calendar_DateChanged(ByVal sender As Object, ByVal e As EventArgs)
   Console.WriteLine("Date Changed")
End Sub