Bolded the dates in MonthCalendar
I am writing a simple diary application. I am using a monthcalendar control to select the date to load the diary. I need the control to display the date in bolded if that date on the calendar has the data. That is easy and simple. Just using BoldedDates.
Code
List<DateTime> boldedDates = new List<DateTime>(); | |
foreach(DateTime boldedDate in entries.Keys) | |
{ | |
boldedDates.Add(boldedDate); | |
} | |
this.monthCalendar1.BoldedDates = boldedDates.ToArray(); |
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
Feedback awaiting moderation
This post has 161 feedbacks awaiting moderation...
Form is loading...