void UserWaypointCollection_WaypointDataChanged(object sender, EventArgs e) { Data.UserWaypoint l = sender as Data.UserWaypoint; if (l != null) { if (!string.IsNullOrEmpty(l.GeocacheCode)) { Data.Geocache gc = GetGeocache(l.GeocacheCode); if (gc != null) { gc.ResetCachedUserWaypointsData(); } } } }
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(); } } } }
public GeocacheEventArgs(Data.Geocache gc) { Geocache = gc; }
public LoadFullGeocacheEventArgs(Data.Geocache gc) { RequestedForGeocache = gc; }