public class Tool1 : ESRI.ArcGIS.Desktop.AddIns.Tool { public Tool1() { } protected override bool OnContextMenu(int x, int y) { //return base.OnContextMenu(x, y); return true; } protected override void OnMouseDown(MouseEventArgs arg) { System.Diagnostics.Debug.WriteLine(arg.Button.ToString()); } protected override void OnUpdate() { Enabled = ArcMap.Application != null; }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.