public override void MoveNext(AriadneThread.AriadneThreadCallback call, String name)
        {
            ArrowButtonMiddle bMid = new ArrowButtonMiddle();
            this.elements.Insert(this.elements.Count - 1, bMid);
            this.pan.Children.Insert(this.pan.Children.Count - 1, bMid);

            ArrowButtonBody bBody = new ArrowButtonBody();
            bBody.Text = name;
            bBody.Callback = call;
            this.elements.Insert(this.elements.Count - 1, bBody);
            this.pan.Children.Insert(this.pan.Children.Count - 1, bBody);
            bBody.Click += new EventHandler(Clicked);

            if (this.pan.Children.Count > this.MaximumElement * 2 + 2)
                this.pan.Children.RemoveRange(1, 2);
        }
 private void BuildHome()
 {
     ArrowButtonBody bHome = new ArrowButtonBody();
     bHome.Text = "HOME";
     bHome.Click += new EventHandler(Clicked);
     this.pan.Children.Add(bHome);
     this.elements.Add(bHome);
     ArrowButtonRight bRight = new ArrowButtonRight();
     this.pan.Children.Add(bRight);
     this.elements.Add(bRight);
 }