Ejemplo n.º 1
0
 public override void Move(int x, int y)
 {
     if (ParentGraphicObject == null)
     {
         Center = new Point(Center.X + x, Center.Y + y);
     }
     else
     {
         ParentGraphicObject.Move(x, y);
     }
 }
Ejemplo n.º 2
0
 public override void Move(int x, int y)
 {
     if (ParentGraphicObject == null)
     {
         StartVerticle.Point = new Point(StartPoint.X + x, StartPoint.Y + y);
         EndVerticle.Point   = new Point(EndPoint.X + x, EndPoint.Y + y);
     }
     else
     {
         ParentGraphicObject.Move(x, y);
     }
 }