❔ Timer with secound delay doesn't work
C# experts, yes I understand that shit-code but I want to make a fast timer that would not sit over the code (because already busy modding for doom). Why doesn't OutTimer start?
13 Replies
presumably the code that's meant to start the timer never gets run
Only the first (maintimer) timer starts, the additional(outtimer) timer does not start.
If I set Time_Minutes to 1 minute and Time_OutMinutes to 2, it counts down cyclically only a minute (by TimeLabel text)
Just for my idea where and how do you have MainTimer and OutTimer defined?
Standart winforms generated file
That makes sense then
It is a Windows.forms timer
If you place a breakpoint on line 80 does that ever get hit?
I'll have to give it a try. I don't have access to a PC at the moment
Alright when you do have access to your pc try placing a breakpoint on line 80 to see if the program even reaches the logic to start the outtimer, as well as place a breakpoint inside of the outtimer_tick to see if that logic is being hit (saves restarting if the first is true)
That being said I have some questions as to what you are trying to achieve specifically by using 2 timers instead of 1
But feel free to ping me when you have had time to check with breakpoints
I want to make a timer reminder to do the warm-up from the computer, but the warm-up is not done instantly. That's what the second timer is for.
The warm up from the computer?
It works. But what about the signal? The signal doesn't work.
Sound inside the project resources
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.