private void HyperLinkShowDocument_Click(object sender, RoutedEventArgs e) { YellowstonePathology.Business.Test.MPNStandardReflex.MPNStandardReflexWordDocument report = new Business.Test.MPNStandardReflex.MPNStandardReflexWordDocument(this.m_AccessionOrder, this.m_PanelSetOrderMPNStandardReflex, Business.Document.ReportSaveModeEnum.Draft); report.Render(); YellowstonePathology.Business.OrderIdParser orderIdParser = new Business.OrderIdParser(this.m_PanelSetOrderMPNStandardReflex.ReportNo); string fileName = YellowstonePathology.Business.Document.CaseDocument.GetDraftDocumentFilePath(orderIdParser); YellowstonePathology.Business.Document.CaseDocument.OpenWordDocumentWithWordViewer(fileName); }
private void HyperLinkShowDocument_Click(object sender, RoutedEventArgs e) { YellowstonePathology.Business.Test.MPNStandardReflex.MPNStandardReflexWordDocument report = new Business.Test.MPNStandardReflex.MPNStandardReflexWordDocument(this.m_AccessionOrder, this.m_PanelSetOrder, Business.Document.ReportSaveModeEnum.Draft); report.Render(); YellowstonePathology.Business.Document.CaseDocument.OpenWordDocumentWithWord(report.SaveFileName); }