public void ShowDocument(YellowstonePathology.Business.Document.CaseDocument caseDocument) { if (this.m_CaseDocument != null) this.m_CaseDocument.Close(); this.m_CaseDocument = caseDocument; this.ClearContent(); if (this.m_CaseDocument != null) { caseDocument.Show(this.ContentControlDocument, Window.GetWindow(this)); } }