Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AnimationForeground"/> class.
 /// </summary>
 /// <param name="panel">The panel<see cref="Canvas"/>.</param>
 public AnimationForeground(Canvas panel)
 {
     SetCanvasPanel(panel);
     armadillo = new Boundary(panel);
     reloj     = new Reloj(panel);
     Init();
 }
Example #2
0
 /// <summary>
 /// The init.
 /// </summary>
 public void Init()
 {
     ds     = 2;
     length = 20;
     v      = length;
     InitRect();
     reloj = new Reloj(g);
     reloj.SetR(length / 2 - 2);
     reloj.UpdatePosition(x + length / 2, y + length / 2);
 }