Example #1
0
 private void HandleCommand(UI.Navigation.PageNavigationReturnEventArgs e)
 {
     switch ((ReceiveSpecimen.ReceiveSpecimenCommandTypeEnum)e.Data)
     {
     case ReceiveSpecimen.ReceiveSpecimenCommandTypeEnum.Finalize:
         this.m_ClientOrderReceivingHandler = new ClientOrderReceivingHandler(this.m_LoginPageWindow);
         this.ShowClientLookupPage();
         break;
     }
 }
Example #2
0
        private void SetClient()
        {
            this.m_ClientOrderReceivingHandler = new Receiving.ClientOrderReceivingHandler(this.m_LoginPageWindow);
            this.m_ClientOrderReceivingHandler.IFoundAClientOrder(this.m_ClientOrder);

            YellowstonePathology.Business.Client.Model.Client client = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetClientByClientId(this.m_ClientOrderReceivingHandler.ClientOrder.ClientId);
            client.ClientLocationCollection.SetCurrentLocation(client.ClientLocationCollection[0].ClientLocationId);
            this.m_ClientOrderReceivingHandler.IFoundAClient(client);

            this.ShowItemsReceivedPage();
        }
Example #3
0
        private void ReviewClientOrderPath_Return(object sender, UI.Navigation.PageNavigationReturnEventArgs e)
        {
            switch (e.PageNavigationDirectionEnum)
            {
            case UI.Navigation.PageNavigationDirectionEnum.Command:
                this.HandleCommand(e);
                break;

            case UI.Navigation.PageNavigationDirectionEnum.Finish:
                this.m_ClientOrderReceivingHandler = new ClientOrderReceivingHandler(this.m_LoginPageWindow);
                this.ShowClientLookupPage();
                break;
            }
        }
        public ItemsReceivedPage(YellowstonePathology.UI.Login.Receiving.ClientOrderReceivingHandler clientOrderReceivingHandler)
        {
            this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance;
            this.m_ClientOrderReceivingHandler = clientOrderReceivingHandler;

            this.m_ClientOrderMediaCollection = new Business.ClientOrder.Model.ClientOrderMediaCollection();
            this.m_ClientOrderReceivingHandler.ClientOrder.ClientOrderDetailCollection.LoadMedia(this.m_ClientOrderMediaCollection);

            InitializeComponent();

            DataContext = this;

            Loaded += new RoutedEventHandler(ItemsReceivedPage_Loaded);
            Unloaded += new RoutedEventHandler(ItemsReceivedPage_Unloaded);
        }
        public ItemsReceivedPage(YellowstonePathology.UI.Login.Receiving.ClientOrderReceivingHandler clientOrderReceivingHandler)
        {
            this.m_BarcodeScanPort             = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance;
            this.m_ClientOrderReceivingHandler = clientOrderReceivingHandler;

            this.m_ClientOrderMediaCollection = new Business.ClientOrder.Model.ClientOrderMediaCollection();
            this.m_ClientOrderReceivingHandler.ClientOrder.ClientOrderDetailCollection.LoadMedia(this.m_ClientOrderMediaCollection);

            InitializeComponent();

            DataContext = this;

            Loaded   += new RoutedEventHandler(ItemsReceivedPage_Loaded);
            Unloaded += new RoutedEventHandler(ItemsReceivedPage_Unloaded);
        }
        private void SetClient()
        {
            this.m_ClientOrderReceivingHandler = new Receiving.ClientOrderReceivingHandler(this.m_LoginPageWindow);
            this.m_ClientOrderReceivingHandler.IFoundAClientOrder(this.m_ClientOrder);

            YellowstonePathology.Business.Client.Model.Client client = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetClientByClientId(this.m_ClientOrderReceivingHandler.ClientOrder.ClientId);
            client.ClientLocationCollection.SetCurrentLocation(client.ClientLocationCollection[0].ClientLocationId);
            this.m_ClientOrderReceivingHandler.IFoundAClient(client);

            this.ShowItemsReceivedPage();
        }
Example #7
0
 public AOBuilder()
 {
     this.m_ClientOrderReceivingHandler = new Login.Receiving.ClientOrderReceivingHandler(this);
 }
Example #8
0
 public ReceiveSpecimenPath()
 {
     this.m_LoginPageWindow             = new Receiving.LoginPageWindow();
     this.m_ClientOrderReceivingHandler = new ClientOrderReceivingHandler(this.m_LoginPageWindow);
 }
Example #9
0
 public ReceiveSpecimenPath()
 {
     this.m_LoginPageWindow = new Receiving.LoginPageWindow();
     this.m_ClientOrderReceivingHandler = new ClientOrderReceivingHandler(this.m_LoginPageWindow);
 }
Example #10
0
 private void ReviewClientOrderPath_Return(object sender, UI.Navigation.PageNavigationReturnEventArgs e)
 {
     switch (e.PageNavigationDirectionEnum)
     {
         case UI.Navigation.PageNavigationDirectionEnum.Command:
             this.HandleCommand(e);
             break;
         case UI.Navigation.PageNavigationDirectionEnum.Finish:
             this.m_ClientOrderReceivingHandler = new ClientOrderReceivingHandler(this.m_LoginPageWindow);
             this.ShowClientLookupPage();
             break;
     }
 }
Example #11
0
 private void HandleCommand(UI.Navigation.PageNavigationReturnEventArgs e)
 {
     switch ((ReceiveSpecimenCommandTypeEnum)e.Data)
     {
         case ReceiveSpecimenCommandTypeEnum.Finalize:
             this.m_ClientOrderReceivingHandler = new ClientOrderReceivingHandler(this.m_LoginPageWindow);
             this.ShowClientLookupPage();
             break;
     }
 }