示例#1
0
 private void DocumentClosedEventHandler(object sender, ClosedEventArgs e)
 {
     DocumentManager.UnregisterDocument(this);
     EventsHelper.Fire(_closed, this, e);
 }
示例#2
0
 protected Document(EntityRef subject, IDesktopWindow desktopWindow)
 {
     _key           = DocumentManager.GenerateDocumentKey(this, subject);
     _desktopWindow = desktopWindow;
 }