C# Class ARCed.Controls.HighPrecisionTimer

Represents the Windows multimedia timer.
Inheritance: IComponent
Show file Open project: borisblizzard/arcreator

Public Methods

Method Description
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.

Private Methods

Method Description
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

Method Details

Dispose() public method

Frees timer resources.
public Dispose ( ) : void
return void

HighPrecisionTimer() public method

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. ///
return System

Start() public method

Starts the timer.
/// The timer has already been disposed. /// /// The timer failed to start. ///
public Start ( ) : void
return void

Stop() public method

Stops timer.
/// If the timer has already been disposed. ///
public Stop ( ) : void
return void