private void HyperLinkShowDocument_Click(object sender, RoutedEventArgs e)
        {
            YellowstonePathology.Business.Test.InvasiveBreastPanel.InvasiveBreastPanelWordDocument invasiveBreastPanel = new Business.Test.InvasiveBreastPanel.InvasiveBreastPanelWordDocument(this.m_AccessionOrder, this.m_InvasiveBreastPanel, Business.Document.ReportSaveModeEnum.Draft);
            invasiveBreastPanel.Render();

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

            YellowstonePathology.Business.Document.CaseDocument.OpenWordDocumentWithWordViewer(fileName);
        }
Esempio n. 2
0
 private void HyperLinkShowDocument_Click(object sender, RoutedEventArgs e)
 {
     YellowstonePathology.Business.Test.InvasiveBreastPanel.InvasiveBreastPanelWordDocument report = new Business.Test.InvasiveBreastPanel.InvasiveBreastPanelWordDocument(this.m_AccessionOrder, this.m_InvasiveBreastPanel, Business.Document.ReportSaveModeEnum.Draft);
     report.Render();
     YellowstonePathology.Business.Document.CaseDocument.OpenWordDocumentWithWord(report.SaveFileName);
 }
        private void HyperLinkShowDocument_Click(object sender, RoutedEventArgs e)
        {
            YellowstonePathology.Business.Test.InvasiveBreastPanel.InvasiveBreastPanelWordDocument invasiveBreastPanel = new Business.Test.InvasiveBreastPanel.InvasiveBreastPanelWordDocument(this.m_AccessionOrder, this.m_InvasiveBreastPanel, Business.Document.ReportSaveModeEnum.Draft);
            invasiveBreastPanel.Render();

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