// Declare a timer: same steps in C# and VB
Timer tmr = new Timer();
tmr.Interval = 100; // 0.1 second
tmr.Tick += timerHandler; // We'll write it in a bit
tmr.Start(); // The countdown is launched!
Food for thought - think about JavaScript: setTimeout() is a one-time timer that automatically clears itself (unless you call clearTimeout() before it ends), while setInterval() keeps running until you manually call clearInterval() - manual clearing is basically the only difference.
private void timerHandler(object sender, EventArgs e) {
MessageBox.Show("Here's something to do...");
tmr.Stop(); // Manually stop timer, or let run indefinitely
}
Tip: see if the timer is currently running with Timer.Enabled (boolean / set to false to disable).