Пример #1
0
        // 12-16-2011 Scott
        public static HandlePoint CreateHandlePoint(Drawing drawing, Point coordinates)
        {
            HandlePoint result = new HandlePoint()
            {
                Drawing = drawing
            };

            result.MoveTo(coordinates);
            return(result);
        }
Пример #2
0
        public override void MoveToCore(Point newPosition)
        {
            Center = newPosition;
            base.MoveToCore(newPosition);

            // 12-16-0-2011 Scott
            if (Behavior.DrawVideo)
            {
                if (HandlePoint != null)
                {
                    HandlePoint.MoveTo(new Point(Coordinates.X + Width / 2, Coordinates.Y - Height / 2));
                }
            }
        }