예제 #1
0
 public FileListNavigation(string baseDir, string[] extensionsAllowed,
                           bool recurse, bool excludeMarked = true, string sCurrent = "")
 {
     BaseDirectory      = baseDir;
     _extensionsAllowed = extensionsAllowed;
     _list          = new FileListAutoUpdated(baseDir, recurse);
     _excludeMarked = excludeMarked;
     TrySetPath(sCurrent);
 }
예제 #2
0
 public void Refresh()
 {
     _list = new FileListAutoUpdated(BaseDirectory, _list.Recurse);
     TrySetPath("");
 }