コード例 #1
0
 private void ShowSurgicalOrderEntryPage(YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder)
 {
     YellowstonePathology.Business.Persistence.ObjectTracker objectTracker = new Business.Persistence.ObjectTracker();
     objectTracker.RegisterObject(clientOrder);
     OrderEntry.SurgicalOrderEntryPage orderEntryPage = new OrderEntry.SurgicalOrderEntryPage((YellowstonePathology.Business.ClientOrder.Model.SurgicalClientOrder)clientOrder, objectTracker);
     orderEntryPage.Return += new SurgicalOrderEntryPage.ReturnEventHandler(OrderEntryPage_Return);
     ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(orderEntryPage);
 }
コード例 #2
0
        private void AddToShipment()
        {
            YellowstonePathology.Business.Persistence.ObjectTracker objectTracker = new Business.Persistence.ObjectTracker();
            objectTracker.RegisterObject(this.m_ClientOrderDetail);

            this.m_ClientOrderDetail.Shipped    = this.m_Shipment.Shipped;
            this.m_ClientOrderDetail.ShipDate   = this.m_Shipment.ShipDate;
            this.m_ClientOrderDetail.ShipmentId = this.m_Shipment.ShipmentId;
            this.m_ClientOrderDetailCollection.Add(this.m_ClientOrderDetail);

            YellowstonePathology.YpiConnect.Proxy.SubmitterServiceProxy         proxy = new Proxy.SubmitterServiceProxy();
            YellowstonePathology.Business.Persistence.RemoteObjectTransferAgent remoteObjectTransferAgent = new Business.Persistence.RemoteObjectTransferAgent();
            objectTracker.PrepareRemoteTransferAgent(this.m_ClientOrderDetail, remoteObjectTransferAgent);
            proxy.Submit(remoteObjectTransferAgent);
        }
コード例 #3
0
        private void AddToShipment()
        {
            YellowstonePathology.Business.Persistence.ObjectTracker objectTracker = new Business.Persistence.ObjectTracker();
            objectTracker.RegisterObject(this.m_ClientOrderDetail);

            this.m_ClientOrderDetail.Shipped = this.m_Shipment.Shipped;
            this.m_ClientOrderDetail.ShipDate = this.m_Shipment.ShipDate;
            this.m_ClientOrderDetail.ShipmentId = this.m_Shipment.ShipmentId;
            this.m_ClientOrderDetailCollection.Add(this.m_ClientOrderDetail);

            YellowstonePathology.YpiConnect.Proxy.SubmitterServiceProxy proxy = new Proxy.SubmitterServiceProxy();
            YellowstonePathology.Business.Persistence.RemoteObjectTransferAgent remoteObjectTransferAgent = new Business.Persistence.RemoteObjectTransferAgent();
            objectTracker.PrepareRemoteTransferAgent(this.m_ClientOrderDetail, remoteObjectTransferAgent);
            proxy.Submit(remoteObjectTransferAgent);
        }
コード例 #4
0
 private void ShowSurgicalOrderEntryPage(YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder)
 {
     YellowstonePathology.Business.Persistence.ObjectTracker objectTracker = new Business.Persistence.ObjectTracker();
     objectTracker.RegisterObject(clientOrder);
     OrderEntry.SurgicalOrderEntryPage orderEntryPage = new OrderEntry.SurgicalOrderEntryPage((YellowstonePathology.Business.ClientOrder.Model.SurgicalClientOrder)clientOrder, objectTracker);
     orderEntryPage.Return += new SurgicalOrderEntryPage.ReturnEventHandler(OrderEntryPage_Return);
     ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(orderEntryPage);
 }