Adds an event handler for the MCN_SELCHANGE event notification. This event is called when the currently selected date or range of dates changes. This occurs, for example, when the user explicitly changes his or her selection within the current month or when the selection is implicitly changed in response to next/previous month navigation. This event, however, is NOT called if the selection range is changed by method alone (ie: through setSelectionRange). Duplicates adds are not filtered out.
[Visual Basic] Public Sub AddOnDateChanged( _ ByVal handler As DateRangeEventHandler _ ) [C#] public void AddOnDateChanged( DateRangeEventHandler handler ); [C++] public: void AddOnDateChanged( DateRangeEventHandler* handler ); [JScript] public function AddOnDateChanged( handler : DateRangeEventHandler );
MonthCalendar Class | MonthCalendar Members | System.WinForms Namespace