C# Класс ARCed.Controls.HighPrecisionTimer

Represents the Windows multimedia timer.
Наследование: IComponent
Показать файл Открыть проект

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

Метод Описание
Dispose ( ) : void

Frees timer resources.

HighPrecisionTimer ( IContainer container ) : System

Initializes a new instance of the Timer class with the specified IContainer.

Start ( ) : void

Starts the timer.

Stop ( ) : void

Stops timer.

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

Метод Описание
HighPrecisionTimer ( ) : System

Initialize class.

Initialize ( ) : void
OnDisposed ( EventArgs e ) : void
OnStarted ( EventArgs e ) : void
OnStopped ( EventArgs e ) : void
OnTick ( EventArgs e ) : void
TimerOneShotEventCallback ( int id, int msg, int user, int param1, int param2 ) : void
TimerPeriodicEventCallback ( int id, int msg, int user, int param1, int param2 ) : void
timeGetDevCaps ( TimerCaps &caps, int sizeOfTimerCaps ) : int
timeKillEvent ( int id ) : int
timeSetEvent ( int delay, int resolution, TimeProc proc, int user, int mode ) : int

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

Dispose() публичный Метод

Frees timer resources.
public Dispose ( ) : void
Результат void

HighPrecisionTimer() публичный Метод

Initializes a new instance of the Timer class with the specified IContainer.
public HighPrecisionTimer ( IContainer container ) : System
container IContainer /// The IContainer to which the Timer will add itself. ///
Результат System

Start() публичный Метод

Starts the timer.
/// The timer has already been disposed. /// /// The timer failed to start. ///
public Start ( ) : void
Результат void

Stop() публичный Метод

Stops timer.
/// If the timer has already been disposed. ///
public Stop ( ) : void
Результат void