private void UpdateFolders() { m_Folders.RemoveAllNodes(); foreach (ISpecialFolder folder in Platform.GwenPlatform.GetSpecialFolders()) { TreeNode category = m_Folders.FindNodeByName(folder.Category, false); if (category == null) { category = m_Folders.AddNode(folder.Category, folder.Category, null); } category.AddNode(folder.Name, folder.Name, folder.Path); } m_Folders.ExpandAll(); }