Use FolderInfoList.SortedChildList to get the folders in the correct order

This commit is contained in:
Rich
2016-10-26 13:12:04 +00:00
parent 91da0b995f
commit d6c2a6f379
5 changed files with 10 additions and 10 deletions

View File

@@ -99,7 +99,7 @@ namespace VEPROMS
}
if (fi.ChildFolderCount > 0)
{
foreach (FolderInfo fic in fi.ChildFolders)
foreach (FolderInfo fic in fi.SortedChildFolders)
{
LoadChildFolders(fic, tn);
}