P
Patrick De Ridder
How do I get this to work?
Libraries to use etc.?
Thanks,
Patrick.
Timer timer = new Timer()
timer.Interval = 1000; // Once a second
timer.Tick += new EventHandler(OnTick);
timer.Enabled = true;
timer.Start();
protected void OnTick(object s, EventArgs ea)
{
MessageBox.Show("Tick Interval");
}
Libraries to use etc.?
Thanks,
Patrick.
Timer timer = new Timer()
timer.Interval = 1000; // Once a second
timer.Tick += new EventHandler(OnTick);
timer.Enabled = true;
timer.Start();
protected void OnTick(object s, EventArgs ea)
{
MessageBox.Show("Tick Interval");
}