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); } }
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); } }