public static RvFile RvFileCache() { for (int i = 0; i < DirTree.ChildCount; i++) { RvFile t = DirTree.Child(i); if (t.FileStatusIs(FileStatus.CacheToSort)) { return(t); } } return(DirTree.Child(1)); }
public static void GetSelectedDirList(ref List <RvFile> lstDir, RvFile thisDir) { for (int i = 0; i < thisDir.ChildCount; i++) { if (thisDir.DatStatus != DatStatus.InDatCollect) { continue; } RvFile tDir = thisDir.Child(i); if (!tDir.IsDir) { continue; } if (tDir.Tree == null) { continue; } if (tDir.Tree.Checked != RvTreeRow.TreeSelect.UnSelected) { lstDir.Add(tDir); } GetSelectedDirList(ref lstDir, tDir); } }