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