+2006-01-06 Jackson Harper <jackson@ximian.com>
+
+ * MonthCalendar.cs: Removed DoEvents call to prevent a running
+ message loop. Change timer intervals to numbers that seem more
+ natural.
+
2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
* DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
if (click_state [1] || click_state [2]) {
// invalidate the area where the mouse was last held
DoMouseUp ();
- Application.DoEvents ();
// register the click
if (hti.HitArea == HitArea.PrevMonthButton ||
hti.HitArea == HitArea.NextMonthButton) {
click_state [1] = (hti.HitArea == HitArea.PrevMonthButton);
click_state [2] = !click_state [1];
}
- if (timer.Interval != 100) {
- timer.Interval = 100;
+ if (timer.Interval != 300) {
+ timer.Interval = 300;
}
}
} else {
DoButtonMouseDown (hti);
click_state [1] = (hti.HitArea == HitArea.PrevMonthDate);
click_state [2] = !click_state [1];
- timer.Interval = 500;
+ timer.Interval = 750;
timer.Start ();
break;
case HitArea.Date: