public void Dispose() { if (DocumentStream != null) { DocumentStream.Dispose(); } if (Books != null && Books.Count > 0) { Books.Clear(); } }
void IDocumentContent.OnClose(CancelEventArgs e) { DocumentStream.Dispose(); }