/// <summary> /// This method iterates the slideshow tree to retrieve /// the node with the given node id. /// </summary> /// <param name="nodeID">A <see cref="String"/> with a node id to search for</param> /// <returns>The <see cref="SlideshowTreeNode"/> with the given id, /// or null if no one is found.</returns> private SlideshowTreeNode GetTreeNodeByID(string nodeID) { return(Slideshow.IterateTreeNodes(nodeID, (SlideshowTreeNode)this.trvSlideshow.Nodes[0], true)); }
/// <summary> /// This method iterates the slideshow tree to retrieve /// the node with the given name. /// </summary> /// <param name="name">A <see cref="String"/> with a node name to search for</param> /// <returns>The <see cref="SlideshowTreeNode"/> with the given name, /// or null if no one is found.</returns> private SlideshowTreeNode GetTreeNodeByName(string name) { return(Slideshow.IterateTreeNodes(name, (SlideshowTreeNode)this.trvSlideshow.Nodes[0], false)); }