C# Class ARCed.Controls.HighPrecisionTimer

Represents the Windows multimedia timer.
Inheritance: IComponent
Afficher le fichier Open project: borisblizzard/arcreator

Méthodes publiques

Méthode 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

Méthode 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 méthode

Frees timer resources.
public Dispose ( ) : void
Résultat void

HighPrecisionTimer() public méthode

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. ///
Résultat System

Start() public méthode

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

Stop() public méthode

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