// --------------------------------------------------------------------------- public virtual void Write(Stream stream) { using (ZipFile zip = new ZipFile()) { HtmlMovies1 h = new HtmlMovies1(); byte[] pdf = h.CreateHtmlAndPdf(stream); zip.AddEntry(HTML, h.Html.ToString()); zip.AddEntry(PDF, pdf); zip.Save(stream); } }