コード例 #1
0
 private void MyDrawObject_DrawComplete(object sender, ESRI.ArcGIS.Client.DrawEventArgs e)
 {
     if (jobid != null)
     {
         inputPoint = e.Geometry as MapPoint;
         _geoprocessorTask.CancelJobAsync(jobid);
     }
     else
     {
         inputPoint = null;
         SubmitJob(e.Geometry as MapPoint);
     }
 }
コード例 #2
0
 private void MyMap_MouseClick(object sender, ESRI.ArcGIS.Client.Map.MouseEventArgs e)
 {
     if (jobid != null)
     {
         inputPoint = e.MapPoint;
         _geoprocessorTask.CancelJobAsync(jobid);
     }
     else
     {
         inputPoint = null;
         SubmitJob(e.MapPoint);
     }
 }