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