private void LapTimeUpdatedEventHandler(object sender, LapEventArgs e) { if (_lastLapHours != LapHours) { _lastLapHours = LapHours; OnPropertyChanged("LapHours"); } if (_lastLapMinutes != LapMinutes) { _lastLapMinutes = LapMinutes; OnPropertyChanged("LapMinutes"); } if (_lastLapSeconds != LapSeconds) { _lastLapSeconds = LapSeconds; OnPropertyChanged("LapSeconds"); } }
private void _stopwatch_LapTimeUpdated(object sender, LapEventArgs e) { if (_lapLastHours != LapHours) { _lapLastHours = LapHours; OnPropertyChanged("LapHours"); } if (_lapLastMinutes != LapMinutes) { _lapLastMinutes = LapMinutes; OnPropertyChanged("LapMinutes"); } if (_lapLastSeconds != LapSeconds) { _lapLastSeconds = LapSeconds; OnPropertyChanged("LapSeconds"); } }