Exemple #1
0
        private void ShowXPSDocumentDualMonitor(string fileName)
        {
            XpsDocumentViewerPage xpsDocumentViewerPage = new XpsDocumentViewerPage(System.Windows.Visibility.Collapsed, System.Windows.Visibility.Collapsed);

            xpsDocumentViewerPage.ViewDocument(fileName);
            this.m_BillingWindowSecondary.PageNavigator.Navigate(xpsDocumentViewerPage);
        }
 private void MaterialBatchPage_ShowTrackingDocument(object sender, YellowstonePathology.UI.CustomEventArgs.MaterialTrackingBatchEventArgs e)
 {
     MaterialTrackingBatchSummary materialTrackingBatchSummary = new MaterialTrackingBatchSummary(e.MaterialTrackingBatch, e.MaterialTrackingLogViewCollection);
     YellowstonePathology.UI.XpsDocumentViewerPage xpsDocumentViewerPage = new XpsDocumentViewerPage(System.Windows.Visibility.Visible, System.Windows.Visibility.Collapsed);
     xpsDocumentViewerPage.Next += new XpsDocumentViewerPage.NextEventHandler(XPSDocumentViewerPage_Next);
     this.m_LoginPageWindow.PageNavigator.Navigate(xpsDocumentViewerPage);
     xpsDocumentViewerPage.LoadDocument(materialTrackingBatchSummary.FixedDocument);
 }
Exemple #3
0
        private void MaterialBatchPage_ShowTrackingDocument(object sender, YellowstonePathology.UI.CustomEventArgs.MaterialTrackingBatchEventArgs e)
        {
            MaterialTrackingBatchSummary materialTrackingBatchSummary = new MaterialTrackingBatchSummary(e.MaterialTrackingBatch, e.MaterialTrackingLogViewCollection);

            YellowstonePathology.UI.XpsDocumentViewerPage xpsDocumentViewerPage = new XpsDocumentViewerPage(System.Windows.Visibility.Visible, System.Windows.Visibility.Collapsed);
            xpsDocumentViewerPage.Next += new XpsDocumentViewerPage.NextEventHandler(XPSDocumentViewerPage_Next);
            this.m_LoginPageWindow.PageNavigator.Navigate(xpsDocumentViewerPage);
            xpsDocumentViewerPage.LoadDocument(materialTrackingBatchSummary.FixedDocument);
        }
Exemple #4
0
 private void ShowXPSDocumentDualMonitor(string fileName)
 {
     XpsDocumentViewerPage xpsDocumentViewerPage = new XpsDocumentViewerPage(System.Windows.Visibility.Collapsed, System.Windows.Visibility.Collapsed);
     xpsDocumentViewerPage.ViewDocument(fileName);
     this.m_BillingWindowSecondary.PageNavigator.Navigate(xpsDocumentViewerPage);
 }