예제 #1
0
        /// <summary>
        /// 点击
        /// </summary>
        private void axMapControl1_OnMouseDown(object sender, IMapControlEvents2_OnMouseDownEvent e)
        {
            if (pan != null)
            {
                pan.OnMouseDown(e.button, e.shift, e.x, e.y);
            }

            if (pPathFinder != null)
            {
                pPathFinder.OnMouseDown(e.button, e.shift, e.x, e.y);
            }

            if (pSpaceQuery != null)
            {
                pSpaceQuery.OnMouseDown(e.button, e.shift, e.x, e.y);
            }
        }