예제 #1
0
        public PackingSlip(PackingSlipData packingSlipData)
        {
            this.m_PackingSlipData = packingSlipData;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Packing Slip");
            YellowstonePathology.Document.Xps.NoFooter footer = new YellowstonePathology.Document.Xps.NoFooter();

            this.m_ReportDocument = new YellowstonePathology.Document.Xps.ReportDocument(header, footer);

            this.WriteHeader();
            this.WriteShipmentDetails();
            this.WritePatientDetails();
        }
        private void HyperlinkPackingSlip_Click(object sender, RoutedEventArgs e)
        {
            this.Save();

            YellowstonePathology.YpiConnect.Proxy.ClientOrderServiceProxy proxy = new Proxy.ClientOrderServiceProxy();
            System.Xml.Linq.XElement packingSlipElement = proxy.PackingSlipReport(this.m_Shipment.ShipmentId);
            PackingSlipData          packingSlipData    = new PackingSlipData(packingSlipElement);
            PackingSlip packingSlip = new PackingSlip(packingSlipData);

            XpsDocumentViewer xpsDocumentViewer = new XpsDocumentViewer();

            xpsDocumentViewer.LoadDocument(packingSlip.FixedDocument);
            xpsDocumentViewer.ShowDialog();
        }
예제 #3
0
        public PackingSlip(PackingSlipData packingSlipData)
        {
            this.m_PackingSlipData = packingSlipData;


            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Packing Slip");
            YellowstonePathology.Document.Xps.NoFooter    footer = new YellowstonePathology.Document.Xps.NoFooter();

            this.m_ReportDocument = new YellowstonePathology.Document.Xps.ReportDocument(header, footer);

            this.WriteHeader();
            this.WriteShipmentDetails();
            this.WritePatientDetails();
        }
예제 #4
0
        private void HyperlinkPackingSlip_Click(object sender, RoutedEventArgs e)
        {
            if (this.ListViewShipments.SelectedItem != null)
            {
                this.Save();
                YellowstonePathology.Business.ClientOrder.Model.ShipmentListItem shipmentListItem = (YellowstonePathology.Business.ClientOrder.Model.ShipmentListItem) this.ListViewShipments.SelectedItem;
                YellowstonePathology.YpiConnect.Proxy.ClientOrderServiceProxy    proxy            = new Proxy.ClientOrderServiceProxy();
                System.Xml.Linq.XElement packingSlipElement = proxy.PackingSlipReport(shipmentListItem.ShipmentId);
                PackingSlipData          packingSlipData    = new PackingSlipData(packingSlipElement);
                PackingSlip packingSlip = new PackingSlip(packingSlipData);

                XpsDocumentViewer xpsDocumentViewer = new XpsDocumentViewer();
                xpsDocumentViewer.LoadDocument(packingSlip.FixedDocument);
                xpsDocumentViewer.ShowDialog();
            }
        }
        private void HyperlinkPackingSlip_Click(object sender, RoutedEventArgs e)
        {
            this.Save();

            YellowstonePathology.YpiConnect.Proxy.ClientOrderServiceProxy proxy = new Proxy.ClientOrderServiceProxy();
            System.Xml.Linq.XElement packingSlipElement = proxy.PackingSlipReport(this.m_Shipment.ShipmentId);
            PackingSlipData packingSlipData = new PackingSlipData(packingSlipElement);
            PackingSlip packingSlip = new PackingSlip(packingSlipData);

            XpsDocumentViewer xpsDocumentViewer = new XpsDocumentViewer();
            xpsDocumentViewer.LoadDocument(packingSlip.FixedDocument);
            xpsDocumentViewer.ShowDialog();
        }
예제 #6
0
        private void HyperlinkPackingSlip_Click(object sender, RoutedEventArgs e)
        {
            if (this.ListViewShipments.SelectedItem != null)
            {
                this.Save();
                YellowstonePathology.Business.ClientOrder.Model.ShipmentListItem shipmentListItem = (YellowstonePathology.Business.ClientOrder.Model.ShipmentListItem)this.ListViewShipments.SelectedItem;
                YellowstonePathology.YpiConnect.Proxy.ClientOrderServiceProxy proxy = new Proxy.ClientOrderServiceProxy();
                System.Xml.Linq.XElement packingSlipElement = proxy.PackingSlipReport(shipmentListItem.ShipmentId);
                PackingSlipData packingSlipData = new PackingSlipData(packingSlipElement);
                PackingSlip packingSlip = new PackingSlip(packingSlipData);

                XpsDocumentViewer xpsDocumentViewer = new XpsDocumentViewer();
                xpsDocumentViewer.LoadDocument(packingSlip.FixedDocument);
                xpsDocumentViewer.ShowDialog();
            }
        }