public Dictionary<string, DirectoryHolder> GetAllFolders() { foreach (var folder in directoryHolders) { Destroy(folder.Value.Button); } directoryHolders.Clear (); var newDirManager = new DirectoryManager(); newDirManager.SetDictionary = directoryHolders; return newDirManager.GetAllDirectories (FolderButton); }