void LogCollection_LogDataChanged(object sender, EventArgs e) { Data.Log l = sender as Data.Log; if (l != null) { if (!string.IsNullOrEmpty(l.GeocacheCode)) { Data.Geocache gc = GetGeocache(l.GeocacheCode); if (gc != null) { gc.ResetCachedLogData(); } } } }