Esempio n. 1
0
        /// <summary>
        /// 마우스의 포인터 점을 변경합니다.
        /// </summary>
        /// <param name="ob"></param>
        /// <param name="point"></param>
        private void ChangePosition(MouseObject ob, Point point)
        {
            if (Adorner == null)
            {
                Adorner = new MouseAdorner((UIElement)Window.Content);

                FirstPosition.Key  = 0;
                SecondPosition.Key = 1;
            }

            ob.point = point;
            Adorner.AddObject(ob);
        }
Esempio n. 2
0
        /// <summary>
        /// 마우스의 포인터 점을 변경합니다.
        /// </summary>
        /// <param name="ob"></param>
        /// <param name="point"></param>
        private void ChangePosition(MouseObject ob, Point point)
        {
            if (Adorner == null)
            {
                Adorner = new MouseAdorner((UIElement)Window.Content);

                FirstPosition.Key = 0;
                SecondPosition.Key = 1;
            }

            ob.point = point;
            Adorner.AddObject(ob);
        }