I have 3 or more timers in form. Now, how can check it: enable = true or false??? Example, i want:
Check 3 timer, if timerX.enable = true
{
timerX.enable = false;
}
Thanks for help.
Printable View
I have 3 or more timers in form. Now, how can check it: enable = true or false??? Example, i want:
Check 3 timer, if timerX.enable = true
{
timerX.enable = false;
}
Thanks for help.
Think about it. The Enabled property of any object is a Boolean. How do you usually check IF a Boolean value is True or False?
I just read your first post again and I'm thinking I may have misinterpreted it slightly. Are you saying that you want to disable the Timer if it is currently enabled? What if it's currently disabled? Do you want to enable it? You need to provide a FULL and CLEAR explanation of the problem because your example seems to suggest something different to what you asked for.