コード例 #1
0
        /// <summary>
        /// Reacts to the selection of a point feature.
        /// </summary>
        /// <param name="point">The point (if any) that has been selected.</param>
        internal override void OnSelectPoint(PointFeature point)
        {
            GetDirectionControl gdc = GetVisibleDirectionControl();

            if (gdc != null)
            {
                gdc.OnSelectPoint(point);
            }
        }
コード例 #2
0
        /// <summary>
        /// Reacts to the selection of a line feature.
        /// </summary>
        /// <param name="line">The line (if any) that has been selected.</param>
        internal override void OnSelectLine(LineFeature line)
        {
            GetDirectionControl gdc = GetVisibleDirectionControl();

            if (gdc != null)
            {
                gdc.OnSelectLine(line);
            }
        }