/// <summary> /// Call this method to build the table of contents (TOC) tree. /// </summary> /// <param name="tocItems">TOC instance (tree) extracted from the chm file</param> /// <param name="filter">information type/category filter</param> public void BuildTOC(HtmlHelpToc tocItems, InfoTypeCategoryFilter filter) { tocTreeView.Nodes.Clear(); BuildTOC(tocItems.TOC, tocTreeView.Nodes, filter); tocTreeView.Update(); }
/// <summary> /// Call this method to build the table of contents (TOC) tree. /// </summary> /// <param name="tocItems">TOC instance (tree) extracted from the chm file</param> public void BuildTOC(HtmlHelpToc tocItems) { BuildTOC(tocItems, null); }