protected override void OnClick() { frmAutoInterpolate frm = new frmAutoInterpolate(); frm.ShowDialog(); ArcMap.Application.CurrentTool = null; }