.NET Framework: MonthCalendar DateChanged Event

Just a quick note that if you use the System.Windows.Forms.Control.MonthCalendar in a WinForms application, the DateChanged event fires every two minutes. If this behavior is undesireable, use the DateSelected event instead. No mention of this behavior is mentioned in the Framework documentation. I did find a couple of hits when I searched on this topic that seemed to indicate that this might be a bug. This is definitely one of those “What were you thinking when you wrote this?” bug feature. 😉

This entry was posted in .NET. Bookmark the permalink.