public override void MoveNext(AriadneThread.AriadneThreadCallback call, String name) { LinkLabel lab = new LinkLabel(); lab.Text = "> " + name; lab.Callback = call; this.elements.Add(lab); this.pan.Children.Add(lab); lab.Click += new EventHandler(Clicked); if (this.pan.Children.Count > this.MaximumElement + 1) this.pan.Children.RemoveAt(1); }
/// <summary> /// Goes next in the Ariadne thread. /// </summary> /// <param name="call"> Callback to be executed when going back. </param> /// <param name="name"> Text that should be displayed in the Label to symbolize the step. </param> public void GoNext(AriadneThread.AriadneThreadCallback call, String name) { this.builder.MoveNext(call, name); }