public void Decompress(ICollection <FileSystemInfo> sources, DirectoryInfo rootDirInfo)
 {
     try
     {
         RootDirInfo = rootDirInfo;
         SentSources = sources;
         ArchiverForm af = new ArchiverForm
                               (OnDecompressInputResponse,
                               SentSources.ElementAt(0).Name);
         af.Show();
     }
     catch (IOException e)
     {
         Prompter.HandleError(e);
     }
 }
 public void Archive(ICollection <FileSystemInfo> sources, DirectoryInfo rootDirInfo)
 {
     try
     {
         RootDirInfo = rootDirInfo;
         SentSources = sources;
         ArchiverForm af = new ArchiverForm
                               (OnArchiveNameInputResponse,
                               SentSources.ElementAt(0).Name + ".zip");
         af.Show();
     }
     catch (UnauthorizedAccessException e)
     {
         Prompter.HandleError(e);
     }
     catch (IOException e)
     {
         Prompter.HandleError(e);
     }
 }