private void ZipBackgroundWorker_DoWork(object sender, DoWorkEventArgs e) { directory.CreateZipFile(RecentFolder, new DirectoryInfo(RecentFolder).Name); }