private void HyperLinkShowDocument_Click(object sender, RoutedEventArgs e)
        {
            YellowstonePathology.Business.Test.MPNExtendedReflex.MPNExtendedReflexWordDocument report = new Business.Test.MPNExtendedReflex.MPNExtendedReflexWordDocument(this.m_AccessionOrder, this.m_MPNExtendedReflexResult.PanelSetOrderMPNExtendedReflex, Business.Document.ReportSaveModeEnum.Draft);
            report.Render();

            YellowstonePathology.Business.OrderIdParser orderIdParser = new Business.OrderIdParser(this.m_MPNExtendedReflexResult.PanelSetOrderMPNExtendedReflex.ReportNo);
            string fileName = YellowstonePathology.Business.Document.CaseDocument.GetDraftDocumentFilePath(orderIdParser);

            YellowstonePathology.Business.Document.CaseDocument.OpenWordDocumentWithWordViewer(fileName);
        }
Exemple #2
0
 private void HyperLinkShowDocument_Click(object sender, RoutedEventArgs e)
 {
     YellowstonePathology.Business.Test.MPNExtendedReflex.MPNExtendedReflexWordDocument report = new Business.Test.MPNExtendedReflex.MPNExtendedReflexWordDocument(this.m_AccessionOrder, this.m_PanelSetOrder, Business.Document.ReportSaveModeEnum.Draft);
     report.Render();
     YellowstonePathology.Business.Document.CaseDocument.OpenWordDocumentWithWord(report.SaveFileName);
 }
        private void HyperLinkShowDocument_Click(object sender, RoutedEventArgs e)
        {
            YellowstonePathology.Business.Test.MPNExtendedReflex.MPNExtendedReflexWordDocument report = new Business.Test.MPNExtendedReflex.MPNExtendedReflexWordDocument(this.m_AccessionOrder, this.m_MPNExtendedReflexResult.PanelSetOrderMPNExtendedReflex, Business.Document.ReportSaveModeEnum.Draft);
            report.Render();

            YellowstonePathology.Business.OrderIdParser orderIdParser = new Business.OrderIdParser(this.m_MPNExtendedReflexResult.PanelSetOrderMPNExtendedReflex.ReportNo);
            string fileName = YellowstonePathology.Business.Document.CaseDocument.GetDraftDocumentFilePath(orderIdParser);
            YellowstonePathology.Business.Document.CaseDocument.OpenWordDocumentWithWordViewer(fileName);
        }