예제 #1
0
 public bool DeleteFile(ArchiveFileInfo archiveFileInfo)
 {
     return(false);
 }
예제 #2
0
        /*    private void ExportAll(string Folder, STProgressBar progressBar)
         *  {
         *      int Curfile = 0;
         *      foreach (ArchiveFileInfo file in Files)
         *      {
         *          int value = (Curfile * 100) / Files.Count;
         *          progressBar.Value = value;
         *          progressBar.Refresh();
         *
         *          try
         *          {
         *              if (!String.IsNullOrWhiteSpace(Path.GetDirectoryName($"{Folder}/{file.FullPath}")))
         *              {
         *                  if (!File.Exists(file.FullPath))
         *                  {
         *                      if (!Directory.Exists($"{Folder}/{file.FullPath}"))
         *                      {
         *                          Directory.CreateDirectory(Path.GetDirectoryName($"{Folder}/{file.FullPath}"));
         *                      }
         *                  }
         *              }
         *              File.WriteAllBytes($"{Folder}/{file.FullPath}", file.FileData);
         *          }
         *          catch
         *          {
         *
         *          }
         *
         *          Curfile++;
         *          if (value == 99)
         *              value = 100;
         *          progressBar.Value = value;
         *          progressBar.Refresh();
         *      }
         *  }*/

        public bool AddFile(ArchiveFileInfo archiveFileInfo)
        {
            return(false);
        }