xtd 0.2.0
Loading...
Searching...
No Matches

◆ enabled() [2/2]

virtual timer & xtd::forms::timer::enabled ( bool  enabled)
virtual

Sets whether the timer is running.

Parameters
enabledtrue if the timer is currently enabled; otherwise, false. The default is false.
Remarks
Calling the start method is the same as setting enabled to true. Likewise, calling the stop method is the same as setting enabled to false.