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; }
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.