Beispiel #1
0
        private void addFile(String filePath)
        {
            SystemFile newFile = new SystemFile(filePath, dispatcher);

            if (newFile.Name != null)
            {
                files.Add(newFile);
            }
        }
Beispiel #2
0
 private void addFile(String filePath)
 {
     if (Interop.Shell.Exists(filePath) && isFileVisible(filePath))
     {
         SystemFile newFile = new SystemFile(filePath, dispatcher);
         if (newFile.Name != null)
         {
             files.Add(newFile);
         }
     }
 }
Beispiel #3
0
 private void addFile(string filePath)
 {
     if (Shell.Exists(filePath) && isFileVisible(filePath))
     {
         SystemFile newFile = new SystemFile(filePath);
         if (newFile.Name != null)
         {
             files.Add(newFile);
             OnPropertyChanged("Files");
         }
     }
 }