public static bool ZipFileDirectory(string strDirectory, string zipedFile, bool includeDir, ref float progress) { ZipClass zc = new ZipClass(); return(zc.ZipFileDirectory(strDirectory, zipedFile, includeDir, ref progress)); }