private void Button_Lab_Click(object sender, RoutedEventArgs e) { if (!_Watch.IsRunning) { return; } OnLap?.Invoke(_Watch.Elapsed + TimeSpan.FromMilliseconds(addTime)); }
protected void Lap() { _currentLapsCount++; OnLap?.Invoke(this, CurrentLapsCount); }