Ejemplo n.º 1
0
        private void Zipping(Object obj)
        {
            var Q = (Queue <string>)obj;

            foreach (var file in Q)
            {
                //System.Windows.Forms.MessageBox.Show(file + " is processing");
                FileManager.Compress(file);
                processedFiles++;
            }
        }
 protected void ZipFile(string file)
 {
     try
     {
         FileManager.Compress(file);
         processedFiles++;
     }
     catch (Exception exc)
     {
         MessageBox.Show(exc.Message + " while Zipping");
     }
 }