Пример #1
0
        private void ShowMaterialTrackingStartPage()
        {
            YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingBatchCollection materialTrackingBatchCollection = null;
            MaterialTrackingStartPage materialTrackingStartPage = null;

            if (this.m_UseMasterAccessionNo == true)
            {
                materialTrackingBatchCollection = YellowstonePathology.Business.Gateway.SlideAccessionGateway.GetMaterialTrackingBatchCollectionByMasterAccessionNo(this.m_MasterAccessionNo);
                materialTrackingStartPage       = new MaterialTrackingStartPage(materialTrackingBatchCollection, this.m_MasterAccessionNo);
            }
            else
            {
                materialTrackingBatchCollection = YellowstonePathology.Business.Gateway.SlideAccessionGateway.GetMaterialTrackingBatchCollection();
                materialTrackingStartPage       = new MaterialTrackingStartPage(materialTrackingBatchCollection);
            }

            materialTrackingStartPage.ViewBatch += new MaterialTrackingStartPage.ViewBatchEventHandler(MaterialTrackingStartPage_ViewBatch);
            this.m_LoginPageWindow.PageNavigator.Navigate(materialTrackingStartPage);
        }
Пример #2
0
        private void ShowMaterialTrackingStartPage()
        {
            YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingBatchCollection materialTrackingBatchCollection = null;
            MaterialTrackingStartPage materialTrackingStartPage = null;

            if (this.m_UseMasterAccessionNo == true)
            {
                materialTrackingBatchCollection = YellowstonePathology.Business.Gateway.SlideAccessionGateway.GetMaterialTrackingBatchCollectionByMasterAccessionNo(this.m_MasterAccessionNo);
                materialTrackingStartPage = new MaterialTrackingStartPage(materialTrackingBatchCollection, this.m_MasterAccessionNo);
            }
            else
            {
                materialTrackingBatchCollection = YellowstonePathology.Business.Gateway.SlideAccessionGateway.GetMaterialTrackingBatchCollection();
                materialTrackingStartPage = new MaterialTrackingStartPage(materialTrackingBatchCollection);
            }

            materialTrackingStartPage.ViewBatch += new MaterialTrackingStartPage.ViewBatchEventHandler(MaterialTrackingStartPage_ViewBatch);
            this.m_LoginPageWindow.PageNavigator.Navigate(materialTrackingStartPage);
        }