Пример #1
0
        /// <summary>
        /// get specific Cursor with specified pPoint of mouse position.
        /// </summary>
        /// <param name="point"></param>
        /// <returns></returns>
        public Cursor GetCursor(Point point)
        {
            Cursor lRet = Cursors.Default;

            if (DrawingTool.HitTest(point))
            {
                lRet = Cursors.SizeAll;
            }
            else
            {
                lRet = GetHoverCursor(point);
            }

            return(lRet);
        }