C# Класс LitDev.LDTimer

Показать файл Открыть проект

Открытые методы

Метод Описание
Add ( ) : Primitive

Create a new timer. All timers created with this method call the event subroutine defned by Tick.

AddTick ( Primitive tick ) : Primitive

Create a new timer. This timer only calls its own event subroutine.

Interval ( Primitive timer, Primitive interval ) : void

Starts or resumes a timer.

Pause ( Primitive timer ) : void

Pauses a timer. Tick events will not be raised.

Resume ( Primitive timer ) : void

Resumes a timer from a paused state. Tick events will now be raised.

Приватные методы

Метод Описание
GetNewTimer ( ) : ObjTimer

Описание методов

Add() публичный статический Метод

Create a new timer. All timers created with this method call the event subroutine defned by Tick.
public static Add ( ) : Primitive
Результат Primitive

AddTick() публичный статический Метод

Create a new timer. This timer only calls its own event subroutine.
public static AddTick ( Primitive tick ) : Primitive
tick Primitive The event subroutine for this timer.
Результат Primitive

Interval() публичный статический Метод

Starts or resumes a timer.
public static Interval ( Primitive timer, Primitive interval ) : void
timer Primitive The timer name.
interval Primitive Sets the interval (in milliseconds) specifying how often the timer should raise the Tick event. This value can range from 10 to 100000000.
Результат void

Pause() публичный статический Метод

Pauses a timer. Tick events will not be raised.
public static Pause ( Primitive timer ) : void
timer Primitive The timer name.
Результат void

Resume() публичный статический Метод

Resumes a timer from a paused state. Tick events will now be raised.
public static Resume ( Primitive timer ) : void
timer Primitive The timer name.
Результат void