void reportWindow_CollectionCompleted(object sender, CollectionCompleteEventArgs e) { if (Current.Instance.RegionScores.Any(x => x.Action == ActionPoints.Action.CollectionComplete.ToString() + " " + e.CollectionId)) { Current.Instance.AddScore.Add(new Score(Current.Instance.Earthwatcher.Id, ActionPoints.Action.CollectionComplete.ToString() + " " + e.CollectionId, e.Points, Current.Instance.Earthwatcher.PlayingRegion, Current.Instance.PrecisionScore)); AddPoints(Current.Instance.AddScore); } }
void hexagonInfo_CollectionCompleted(object sender, CollectionCompleteEventArgs e) { if (Current.Instance.Scores.Any(x => x.Action == ActionPoints.Action.CollectionComplete.ToString() + " " + e.CollectionId)) { Current.Instance.AddScore.Add(new Score { EarthwatcherId = Current.Instance.Earthwatcher.Id, Action = ActionPoints.Action.CollectionComplete.ToString() + " " + e.CollectionId, Points = e.Points, Published = DateTime.Now }); AddPoints(Current.Instance.AddScore); } }