C# 클래스 MediaOwl.Core.StopWatch

The StopWatch uses a DispatcherTimer to fire an EventHandler when a TimeSpan passed.
파일 보기 프로젝트 열기: Slesa/Playground 1 사용 예제들

공개 메소드들

메소드 설명
Start ( ) : void

Start the StopWatch. The StopWatchStarting-Event is fired./>

Stop ( ) : void

Stops the StopWatch early. Does not fire the StopWatchEnded-Event.

StopWatch ( int stop, int interval = 1000 ) : System

The Constructor

비공개 메소드들

메소드 설명
StopWatchTick ( object sender, EventArgs eventArgs ) : void

메소드 상세

Start() 공개 메소드

Start the StopWatch. The StopWatchStarting-Event is fired./>
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops the StopWatch early. Does not fire the StopWatchEnded-Event.
public Stop ( ) : void
리턴 void

StopWatch() 공개 메소드

The Constructor
public StopWatch ( int stop, int interval = 1000 ) : System
stop int The milliseconds to fire the -Event when passed.
interval int After each milliseconds-interval it is controlled wether to fire the -Event or not.
리턴 System