internal void RaiseWarningStartedEvent() { FrameTimerEventArgs args = new FrameTimerEventArgs { Counter = this._innerCount, Hour = this._innerTime.Hour, Minute = this._innerTime.Minute, Second = this._innerTime.Second }; // Raise bindable event if (this.OnStartWarning != null) { TimerWarningStarted(args); } //Raise simple event if (this.WarningStarted != null) { WarningStarted(this, args); } }
internal void RaiseStartedEvent() { FrameTimerEventArgs args = new FrameTimerEventArgs { Counter = this.StartingCounter, Hour = this.StartingHour, Minute = this.StartingMinute, Second = this.StartingSecond }; // Raise bindable event if (this.OnStart != null) { TimerStarted(args); } //Raise simple event if (this.Started != null) { Started(this, args); } }
internal void RaiseResumedEvent() { FrameTimerEventArgs args = new FrameTimerEventArgs { Counter = this._innerCount, Hour = this._innerTime.Hour, Minute = this._innerTime.Minute, Second = this._innerTime.Second }; // Raise bindable event if (this.OnResume != null) { TimerResumed(args); } //Raise simple event if (this.Resumed != null) { Resumed(this, args); } }
internal virtual void TimerStopped(FrameTimerEventArgs e) { // ----- Event handler for value changes. OnStop?.Execute(e); }
internal virtual void TimerWarningStarted(FrameTimerEventArgs e) { // ----- Event handler for value changes. OnStartWarning?.Execute(e); }
internal virtual void TimerResumed(FrameTimerEventArgs e) { // ----- Event handler for value changes. OnResume?.Execute(e); }