示例#1
0
        public void RemoveWatching(string path)
        {
            TrackingDirs.Remove(path);
            RemoveUntracked(path);

            Save();
        }
示例#2
0
 private void RemoveUntracked(string path)
 {
     for (int i = 0; i < Images.Count; i++)
     {
         ImageDescriptor current = Images[i];
         if (!TrackingDirs.Any(n => n == current.TrackingDir))
         {
             Images.Remove(current);
         }
     }
 }
示例#3
0
 public void AddTracking(string path)
 {
     TrackingDirs.Add(path);
     ReadTrackedDir(path);
     Save();
 }