// --------------------------------------------------------------------------- public void Write(Stream stream) { using (ZipFile zip = new ZipFile()) { zip.AddFile(JS1, ""); zip.AddFile(JS2, ""); zip.AddEntry("javascript.html", string.Format(HTML, RESULT)); Subscribe s = new Subscribe(); byte[] pdf = s.CreatePdf(); JSForm j = new JSForm(); zip.AddEntry(RESULT, j.ManipulatePdf(pdf)); zip.Save(stream); } }