Sets the selection for a month calendar control to a given date range. The selection range will not be set if the selection range exceeds the maximum selection count.
[Visual Basic] Public Sub SetSelectionRange( _ ByVal date1 As DateTime, _ ByVal date2 As DateTime _ ) [C#] public void SetSelectionRange( DateTime date1, DateTime date2 ); [C++] public: void SetSelectionRange( DateTime date1, DateTime date2 ); [JScript] public function SetSelectionRange( date1 : DateTime, date2 : DateTime );
MonthCalendar Class | MonthCalendar Members | System.WinForms Namespace | SelectionStart | SelectionEnd