Ejemplo n.º 1
0
        private void ShowTestOrderSelectionPage(YellowstonePathology.Business.Test.AliquotOrder aliquotOrder)
        {
            TestOrderPanelSetOrderViewCollection testOrderPanelSetOrderViewCollection = new TestOrderPanelSetOrderViewCollection(aliquotOrder.TestOrderCollection, this.m_AccessionOrder);
            TestOrderSelectionPage testOrderSelectionPage = new TestOrderSelectionPage(testOrderPanelSetOrderViewCollection, aliquotOrder, this.m_AccessionOrder);

            testOrderSelectionPage.TestOrderSelected += new TestOrderSelectionPage.TestOrderSelectedEventHandler(TestOrderSelectionPage_TestOrderSelected);
            testOrderSelectionPage.Back += new TestOrderSelectionPage.BackEventHandler(TestOrderSelectionPage_Back);
            this.m_CuttingWorkspaceWindow.PageNavigator.Navigate(testOrderSelectionPage);
        }
        public TestOrderSelectionPage(TestOrderPanelSetOrderViewCollection testOrderPanelSetOrderViewCollection,
                                      YellowstonePathology.Business.Test.AliquotOrder aliquotOrder,
                                      YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_TestOrderPanelSetOrderViewCollection = testOrderPanelSetOrderViewCollection;
            this.m_AliquotOrder   = aliquotOrder;
            this.m_AccessionOrder = accessionOrder;

            InitializeComponent();
            DataContext = this;
        }