Пример #1
0
        private bool ShowAssignmentPage()
        {
            bool result = false;

            if (this.IsOkToShowAssignmentPage() == true)
            {
                AssignmentPage assignmentPage = new AssignmentPage(this.m_AccessionOrder);
                assignmentPage.Return += new AssignmentPage.ReturnEventHandler(AssignmentPage_Return);
                this.m_PageNavigator.Navigate(assignmentPage);
                result = true;
            }

            return(result);
        }
Пример #2
0
        private bool ShowAssignmentPage()
        {
            bool result = false;

            YellowstonePathology.Business.Test.TechnicalOnly.TechnicalOnlyTest panelSetTechnicalOnly = new Business.Test.TechnicalOnly.TechnicalOnlyTest();
            YellowstonePathology.Business.Test.ReviewForAdditionalTesting.ReviewForAdditionalTestingTest reviewForAdditionalTestingTest = new Business.Test.ReviewForAdditionalTesting.ReviewForAdditionalTestingTest();
            YellowstonePathology.Business.Test.IHCQC.IHCQCTest ihcQCTest = new Business.Test.IHCQC.IHCQCTest();

            if (this.m_AccessionOrder.IsDermatologyClient() == true || this.m_AccessionOrder.PanelSetOrderCollection.HasGrossBeenOrdered() == true ||
                this.m_AccessionOrder.PanelSetOrderCollection.Exists(panelSetTechnicalOnly.PanelSetId) == true ||
                this.m_AccessionOrder.PanelSetOrderCollection.Exists(reviewForAdditionalTestingTest.PanelSetId) == true ||
                this.m_AccessionOrder.PanelSetOrderCollection.Exists(ihcQCTest.PanelSetId) == true ||
                this.m_AccessionOrder.ClientId == 1260)
            {
                AssignmentPage assignmentPage = new AssignmentPage(this.m_AccessionOrder);
                assignmentPage.Return += new AssignmentPage.ReturnEventHandler(AssignmentPage_Return);
                this.m_PageNavigator.Navigate(assignmentPage);
                result = true;
            }
            return(result);
        }
        private bool ShowAssignmentPage()
        {
            bool result = false;

            YellowstonePathology.Business.Test.TechnicalOnly.TechnicalOnlyTest panelSetTechnicalOnly = new Business.Test.TechnicalOnly.TechnicalOnlyTest();
            YellowstonePathology.Business.Test.ReviewForAdditionalTesting.ReviewForAdditionalTestingTest reviewForAdditionalTestingTest = new Business.Test.ReviewForAdditionalTesting.ReviewForAdditionalTestingTest();
            YellowstonePathology.Business.Test.IHCQC.IHCQCTest ihcQCTest = new Business.Test.IHCQC.IHCQCTest();

            if (this.m_AccessionOrder.IsDermatologyClient() == true || this.m_AccessionOrder.PanelSetOrderCollection.HasGrossBeenOrdered() == true
                || this.m_AccessionOrder.PanelSetOrderCollection.Exists(panelSetTechnicalOnly.PanelSetId) == true
                || this.m_AccessionOrder.PanelSetOrderCollection.Exists(reviewForAdditionalTestingTest.PanelSetId) == true
                || this.m_AccessionOrder.PanelSetOrderCollection.Exists(ihcQCTest.PanelSetId) == true
                || this.m_AccessionOrder.ClientId == 1260)
            {
                AssignmentPage assignmentPage = new AssignmentPage(this.m_AccessionOrder);
                assignmentPage.Return += new AssignmentPage.ReturnEventHandler(AssignmentPage_Return);
                this.m_PageNavigator.Navigate(assignmentPage);
                result = true;
            }
            return result;
        }