예제 #1
0
 public void SetPath(int side, string value, PleaseWait progress)
 {
     if (_Path[side] == value)
     {
         return;
     }
     _Path[side] = value;
     if (watcher[side] != null)
     {
         watcher[side].Dispose();
     }
     if (_Path[side] != null && Directory.Exists(_Path[side]))
     {
         watcher[side] = new DirectoryTreeWatcher(files, side, _Path[side], Dispatcher, update, fullTextExtensions, progress);
     }
 }
예제 #2
0
 public void SetPath(int side, string value, PleaseWait progress)
 {
     if (_Path[side] == value) return;
     _Path[side] = value;
     if (watcher[side] != null) watcher[side].Dispose();
     if (_Path[side] != null && Directory.Exists(_Path[side]))
         watcher[side] = new DirectoryTreeWatcher(files, side, _Path[side], Dispatcher, update, fullTextExtensions, progress);
 }