I need to display current time with seconds on my form. My clock must display seconds and im afraid about performance.
- Is there any method without polling? (some system event or something?)
- If there is no method without polling – shall i use
Date().getTime()to get current time in my timer tick event?
You should just use a
System.Windows.Forms.Timerand displayDateTime.Nowin each tick.