Friday, August 15, 2008

Display More than one month in Windows Month Calender

The MonthCalender control of Windows form by default displays one month at a time . if the client require us to display 2 months by default, then what to do.

Simple we have to set the CalenderDimensions to the MonthCalender

The below example will show how to display 2 months at a time by default in the MonthCalender control

monthCalendar1.CalendarDimensions = new System.Drawing.Size(2, 1);


Hope this may help you

Kumar