Many apps must perform date and time calculations. The .NET Framework provides two controls that allow an app to retrieve date and time information—the
DateTimePicker (Section 15.4) controls.
The MonthCalendar (Fig. 15.8) control displays a monthly calendar on the
Form. The user can select a date from the currently displayed month or can use the provided arrows to navigate to another month. When a date is selected, it is highlighted. Multiple dates can be selected by clicking dates on the calendar while holding down the Shift key. The default event for this control is the DateChanged event, which is generated when a new date is selected. Properties are provided that allow you to modify the appearance ...