public AppTimers() { this.EventsHdlr = new SiRFLiveEvent(); this._appTimer = new Timer(); this._appTimerInterval = 0x3e8; this._appTimer.Elapsed += new ElapsedEventHandler(this.AppTimerHdlr); this._appTimer.Enabled = false; this._appTimer.Interval = this._appTimerInterval; }
public AppTimers(int interval, bool isContinous) { this.EventsHdlr = new SiRFLiveEvent(); this._appTimer = new Timer(); this._appTimerInterval = 0x3e8; this._appTimer.Elapsed += new ElapsedEventHandler(this.AppTimerHdlr); this._appTimerInterval = interval * 0x3e8; this._appTimer.Interval = interval; this._appTimer.AutoReset = isContinous; }