Пример #1
0
 public void MoveRight()
 {
     x = x + 10;
     if (Container.Components["HaveBody"] != null)
     {
         Thickness Margin = ((HaveBody)Container.Components["HaveBody"]).Body.Margin;
         Margin.Right = x;
         TDrawEffects.MoveTo(((HaveBody)Container.Components["HaveBody"]).Body, x, y);
     }
 }
Пример #2
0
 public void MoveTo(double x, double y)
 {
     TDrawEffects.AllAnimationNull(Container.GetComponent <HaveBody>().Body);
     TDrawEffects.MoveTo(Container.GetComponent <HaveBody>().Body, x, y);
 }