public Contener GetChild() { Contener CurrenChild = Childs.ElementAt(ChildIdicator); if (CurrenChild != null) { ChildIdicator++; } return(CurrenChild); }
public void PreviousComposite() { compositeIndex--; if (compositeIndex > 0) { Collection temp = new Collection(""); Contener current = Head.Childs.ElementAt(compositeIndex); if (!current.GetType().Equals(temp.GetType())) { PreviousComposite(); } } }
public void NextComposite() { if (compositeIndex < size) { ContenerComposite temp = new ContenerComposite(""); Contener current = Head.Childs.ElementAt(compositeIndex); if (!current.GetType().Equals(temp.GetType())) { compositeIndex++; NextComposite(); } } }
public void Delete(Contener Child) { Childs.Remove(Child); }
public void Add(Contener Child) { Childs.Add(Child); }