public class Tool1 : ESRI.ArcGIS.Desktop.AddIns.Tool { public Tool1() { this.Cursor = Cursors.SizeAll; } protected override void OnMouseUp(MouseEventArgs arg) { base.OnMouseUp(arg); System.Diagnostics.Debug.WriteLine(arg.X + " " + arg.Y); } }
or just after clicking the tool's button?