By tag: Timer
0
kicks
ASP.NET AJAX Timer Trouble? Location is key.
An examination of the ASP.NET AJAX Timer control and how it's placement can dramatically alter the behavior of the control.
0
kicks
C++ Timer
How to use the Windows API to create and manage a timer in c++. In the article is explained how to use a callback function and how to use the window procedure to intercept the OnTimer event.
0
kicks
WPF Timer Animation Example
Simple example which uses a DispatcherTimer to call a function at 30 frames per second. The function uses value-based animation to move an orb randomly around the screen. With this implementation, the animation should never run faster than 30 fps but it will run slower if system resources decrease.
0
kicks
Fun with C# Timers.. Flash a Windows Control to draw attention to it
The most common GUI technique is to display the error using a MessageBox.Show popup after validating the control, with something like "First Name field is empty! Please enter your First Name". I find these popup boxes in a Windows Application to be annoying... especially when combined with...
0
kicks
A Timer class for C# Console Applications
System.Windows.Forms.Timer does not work for Console Applications because you need an event loop, so you need to use System.Threading to implement your own timer with an event loop, here is how...