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; }
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.