NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MonthCalendar.AddOnDateChanged

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
);

Parameters

handler
New Event Handler to install for this event.

See Also

MonthCalendar Class | MonthCalendar Members | System.WinForms Namespace