Null Reference error when clicking on NumericUpDown control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bharathi

    Null Reference error when clicking on NumericUpDown control

    Hi,

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

    System.NullRefe renceException: Object reference not set to an instance
    of an object. at
    System.Windows. Forms.UpDownBut tons.TimerHandl er(Object source,
    EventArgs args) at System.Windows. Forms.Timer.OnT ick(EventArgs
    e) at System.Windows. Forms.Timer.Cal lback(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
Working...