|
-
Oct 20th, 2006, 03:07 PM
#1
Thread Starter
Addicted Member
Timer fireing off twice in a row when it should not
I am doing a little work with a timer in my program to control a thread. The only code I have in the timer is in the tick event which has the line
Console.WriteLine = "Test"
I set the timers interval to 10 seconds in the desgin view. When I start my timer I get two Tests in the console window really fast then 10 seconds go by and another two Test but, I only have one test in the tick event.
I set a break at the timer tick event and when the event is fire it ads a line to the console then refires it self yet there is not code that is doing this.
What am I doing wrong?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|