コード例 #1
0
ファイル: Form1.cs プロジェクト: duurt/tcx-editor
 private void MapControl1_MapClickEvent(object sender, MapClickEventArgs e)
 {
     GetNearestEvent?.Invoke(
         this,
         new GetNearestEventArgs
     {
         ReferencePoint = new Position(e.Lattitude, e.Longitude)
     });
 }
コード例 #2
0
ファイル: GuiStub.cs プロジェクト: duurt/tcx-editor
 public void RaiseGetNearestEvent(GetNearestEventArgs args) => GetNearestEvent.Invoke(this, args);