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

◆ create() [5/5]

static timer xtd::forms::timer::create ( int  interval_milliseconds,
bool  enable 
)
static

A factory to create an xtd::forms::timer with specified interval, and enable values.

Parameters
interval_millisecondsAn int32 specifying the number of milliseconds before the tick event is raised relative to the last occurrence of the tick event. The value cannot be less than one.
enabledtrue if the timer is currently enabled; otherwise, false. The default is false.
Returns
New xtd::forms::timer created.