protected override void OnMouseDown(ESRI.ArcGIS.Desktop.AddIns.Tool.MouseEventArgs arg)
        {
            IScreenDisplay         screenDisplay         = view.ScreenDisplay;
            batchGeocodeForm       batchDlg              = gpExtension.batchGeocodeDlg;
            IDisplayTransformation displayTransformation = view.ScreenDisplay.DisplayTransformation;

            if (batchDlg != null)
            {
                IPoint mapPoint   = displayTransformation.ToMapPoint(arg.X, arg.Y);
                IPoint lam72Point = geopuntHelper.Transform2Lam72(mapPoint) as IPoint;
                batchDlg.getXYasValidAdres(lam72Point.X, lam72Point.Y);
            }
            base.OnMouseDown(arg);
        }
        protected override void OnClick()
        {
            try
            {
                if (view.FocusMap.SpatialReference == null)
                {
                    view.FocusMap.SpatialReference = geopuntHelper.lam72;
                }
                if (batchDlg != null)
                {
                    if (batchDlg.IsDisposed)
                    {
                        batchDlg = null;
                    }
                    else
                    {
                        if (!batchDlg.Visible)
                        {
                            batchDlg.Show();
                        }
                        batchDlg.WindowState = FormWindowState.Normal;
                        batchDlg.Focus();
                        return;
                    }
                }
                batchDlg = new batchGeocodeForm();

                gpExtension.batchGeocodeDlg = batchDlg;

                batchDlg.Show( );
                batchDlg.WindowState = FormWindowState.Normal;
                batchDlg.Focus();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message + " : " + ex.StackTrace);
            }
        }