Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hai all,

"SystemEvents.CreateTimer"

Creates a new window timer associated with the system events window.

Got this from a Link[^]..

But it is not clear for me.. What they meant by.. "window timer"..?
Posted
Comments
Sergey Alexandrovich Kryukov 1-Nov-11 1:55am    
Why do you need all this, go goodness sake?
--SA

1 solution

This is what it is: Window timer is a timer associated with the system events window. (There are many different timers, that's it. For example, multimedia timer, and a few more) I have no idea why would you need this.

There are two standard timers in .NET and one non-standard one, System.Windows.Forms.Timer, which I would recommend only for simple tasks not requiring accuracy.

The two I would recommend in all cases are: System.Threading.Timer and System.Timers.Timer. They a portable, so can be used not just on Windows, but on other systems supported by Mono. See:
http://msdn.microsoft.com/en-us/library/system.timers.timer.aspx[^],
http://msdn.microsoft.com/en-us/library/system.threading.timer.aspx[^].

Use right timers, stop worrying and start programming.

—SA
 
Share this answer
 
Comments
version_2.0 1-Nov-11 4:07am    
what about cpu perfomance by using timer..?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900