public void GoNext()
        {
            YellowstonePathology.Business.View.ClientLocationView clientLocationView = null;
            if (this.ListViewFavoriteClients.SelectedItem != null)
            {
                clientLocationView = this.ListViewFavoriteClients.SelectedItem as YellowstonePathology.Business.View.ClientLocationView;
            }
            else if (this.ListViewClientSearch.SelectedItem != null)
            {
                clientLocationView = this.ListViewClientSearch.SelectedItem as YellowstonePathology.Business.View.ClientLocationView;
            }

            if (clientLocationView != null)
            {
                this.m_Client = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetClientByClientId(clientLocationView.ClientId);
                this.m_FavoriteClientCollection.AddRecent(this.m_Client);

                if (this.m_Client != null)
                {
                    this.m_Client.ClientLocationCollection.SetCurrentLocation(clientLocationView.ClientLocationId);
                    bool useRequisition = false;
                    if (this.CheckBoxUseRequisition.IsChecked == true)
                    {
                        useRequisition = true;
                    }
                    List <object> returnData = new List <object>();
                    returnData.Add(this.m_Client);
                    returnData.Add(useRequisition);
                    UI.Navigation.PageNavigationReturnEventArgs args = new UI.Navigation.PageNavigationReturnEventArgs(UI.Navigation.PageNavigationDirectionEnum.Next, returnData);
                    this.Return(this, args);
                }
            }
            this.ListViewFavoriteClients.SelectedIndex = -1;
        }
        public void GoNext()
        {
            YellowstonePathology.Business.View.ClientLocationView clientLocationView = null;
            if (this.ListViewFavoriteClients.SelectedItem != null)
            {
                clientLocationView = this.ListViewFavoriteClients.SelectedItem as YellowstonePathology.Business.View.ClientLocationView;
            }
            else if (this.ListViewClientSearch.SelectedItem != null)
            {
                clientLocationView = this.ListViewClientSearch.SelectedItem as YellowstonePathology.Business.View.ClientLocationView;
            }

            if (clientLocationView != null)
            {
                this.m_Client = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetClientByClientId(clientLocationView.ClientId);
                this.m_FavoriteClientCollection.AddRecent(this.m_Client);

                if (this.m_Client != null)
                {
                    this.m_Client.ClientLocationCollection.SetCurrentLocation(clientLocationView.ClientLocationId);
                    UI.Navigation.PageNavigationReturnEventArgs args = new UI.Navigation.PageNavigationReturnEventArgs(UI.Navigation.PageNavigationDirectionEnum.Next, this.m_Client);
                    this.Return(this, args);
                }
            }
            this.ListViewFavoriteClients.SelectedIndex = -1;
        }