Null Reference error when clicking on NumericUpDown control

Null Reference error when clicking on NumericUpDown control

am 17.04.2008 16:50:19 von Bharathi

Hi,

I have used NumericUpDown Control in my application. Clicking
continuously on it would result Null reference error.

System.NullReferenceException: Object reference not set to an instance
of an object. at
System.Windows.Forms.UpDownButtons.TimerHandler(Object source,
EventArgs args) at System.Windows.Forms.Timer.OnTick(EventArgs
e) at System.Windows.Forms.Timer.Callback(IntPtr hWnd, Int32 msg,
IntPtr idEvent, IntPtr dwTime)


I am not understanding why.. Could anyone give me suggestions as how
to avoid this exception.

Thank you,
Regards,
Bharathi