C# 클래스 LitDev.LDTimer

파일 보기 프로젝트 열기: litdev1/LitDev

공개 메소드들

메소드 설명
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