Beispiel #1
0
 private void MapControl1_MapClickEvent(object sender, MapClickEventArgs e)
 {
     GetNearestEvent?.Invoke(
         this,
         new GetNearestEventArgs
     {
         ReferencePoint = new Position(e.Lattitude, e.Longitude)
     });
 }
Beispiel #2
0
 public void RaiseGetNearestEvent(GetNearestEventArgs args) => GetNearestEvent.Invoke(this, args);