public TaskOrderPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Task.Model.TaskOrder taskOrder, PageNavigationModeEnum pageNavigationMode) { this.m_AccessionOrder = accessionOrder; this.m_TaskOrder = taskOrder; this.m_PageNavigationMode = pageNavigationMode; this.m_FacilityCollection = Business.Facility.Model.FacilityCollection.Instance; this.m_TaskAssignmentList = YellowstonePathology.Business.Task.Model.TaskAssignment.GetTaskAssignmentList(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_PaymentTypeList = new List <string>(); this.m_PaymentTypeList.Add("SENDER"); this.m_PaymentTypeList.Add("THIRD_PARTY"); this.m_PaymentTypeList.Add("RECIPIENT"); this.m_FaxDocumentNameList = new List <string>(); this.m_FaxDocumentNameList.Add("AdditionalTestingNotification"); this.m_FaxDocumentNameList.Add("PreauthorizationNotification"); InitializeComponent(); this.SetButtonVisibility(); DataContext = this; Loaded += TaskOrderPage_Loaded; Unloaded += TaskOrderPage_Unloaded; }
public TaskOrderPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Task.Model.TaskOrder taskOrder, PageNavigationModeEnum pageNavigationMode) { this.m_AccessionOrder = accessionOrder; this.m_TaskOrder = taskOrder; this.m_PageNavigationMode = pageNavigationMode; this.m_FacilityCollection = Business.Facility.Model.FacilityCollection.GetAllFacilities(); this.m_TaskAssignmentList = YellowstonePathology.Business.Task.Model.TaskAssignment.GetTaskAssignmentList(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_PaymentTypeList = new List<string>(); this.m_PaymentTypeList.Add("SENDER"); this.m_PaymentTypeList.Add("THIRD_PARTY"); this.m_PaymentTypeList.Add("RECIPIENT"); InitializeComponent(); this.SetButtonVisibility(); DataContext = this; Loaded += TaskOrderPage_Loaded; Unloaded += TaskOrderPage_Unloaded; }
public CuttingPage(YellowstonePathology.Business.Test.AliquotOrder aliquotOrder, YellowstonePathology.Business.Test.Model.TestOrder testOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Label.Model.HistologySlidePaperLabelPrinter histologySlidePaperLabelPrinter, YellowstonePathology.UI.Navigation.PageNavigator pageNavigator) { this.m_AliquotOrder = aliquotOrder; this.m_AccessionOrder = accessionOrder; this.m_TestOrder = testOrder; this.m_PageNavigator = pageNavigator; this.m_HistologySlidePaperLabelPrinter = histologySlidePaperLabelPrinter; this.m_SpecimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByAliquotOrderId(this.m_AliquotOrder.AliquotOrderId); this.m_PanelSetOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrderByTestOrderId(this.m_TestOrder.TestOrderId); this.m_PanelOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelOrderByTestOrderId(this.m_TestOrder.TestOrderId); this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_ListBoxSlidesMouseDownTimer = new System.Windows.Threading.DispatcherTimer(); this.m_ListBoxSlidesMouseDownTimer.Interval = new TimeSpan(0, 0, 0, 0, 750); this.m_ListBoxSlidesMouseDownTimer.Tick += new EventHandler(ListBoxSlidesMouseDownTimer_Tick); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); DataContext = this; this.m_PageTimeoutTimer = new System.Windows.Threading.DispatcherTimer(); this.m_PageTimeoutTimer.Interval = TimeSpan.FromMinutes(15); this.m_PageTimeoutTimer.Tick += new EventHandler(PageTimeoutTimer_Tick); this.m_PageTimeoutTimer.Start(); this.Loaded += new RoutedEventHandler(CuttingPage_Loaded); this.Unloaded += new RoutedEventHandler(CuttingPage_Unloaded); }
public CuttingPage(YellowstonePathology.Business.Test.AliquotOrder aliquotOrder, YellowstonePathology.Business.Test.Model.TestOrder testOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Label.Model.HistologySlidePaperLabelPrinter histologySlidePaperLabelPrinter, YellowstonePathology.UI.Navigation.PageNavigator pageNavigator) { this.m_AliquotOrder = aliquotOrder; this.m_AccessionOrder = accessionOrder; this.m_TestOrder = testOrder; this.m_PageNavigator = pageNavigator; this.m_HistologySlidePaperLabelPrinter = histologySlidePaperLabelPrinter; this.m_SpecimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrderByAliquotOrderId(this.m_AliquotOrder.AliquotOrderId); this.m_PanelSetOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrderByTestOrderId(this.m_TestOrder.TestOrderId); this.m_PanelOrder = this.m_AccessionOrder.PanelSetOrderCollection.GetPanelOrderByTestOrderId(this.m_TestOrder.TestOrderId); this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_ListBoxSlidesMouseDownTimer = new System.Windows.Threading.DispatcherTimer(); this.m_ListBoxSlidesMouseDownTimer.Interval = new TimeSpan(0, 0, 0, 0, 750); this.m_ListBoxSlidesMouseDownTimer.Tick += new EventHandler(ListBoxSlidesMouseDownTimer_Tick); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); DataContext = this; this.Loaded += new RoutedEventHandler(CuttingPage_Loaded); this.Unloaded += new RoutedEventHandler(CuttingPage_Unloaded); }
public DocumentScanPage(string stepText) { this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_StepText = stepText; InitializeComponent(); DataContext = this; }
public CytologyWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer) { this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler; this.m_SystemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_Writer = writer; this.m_CytologyUI = new CytologyUI(this.m_Writer); this.m_CytologyUI.AccessionChanged += new CytologyUI.AccessionChangedEventHandler(CytologyUI_AccessionChanged); this.m_CytologyResultsWorkspace = new CytologyResultsWorkspace(this.m_CytologyUI); this.m_CytologyUI.WHPOpened += CytologyUI_WHPOpened; this.m_CytologyUI.WHPClosed += CytologyUI_WHPClosed; this.m_DocumentViewer = new DocumentWorkspace(); InitializeComponent(); this.DataContext = this.m_CytologyUI; this.ContentControlDocumentViewer.Content = this.m_DocumentViewer; this.m_BarcodeScanPort.CytologySlideScanReceived += new YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.CytologySlideScanReceivedHandler(CytologySlideScanReceived); this.m_BarcodeScanPort.ThinPrepSlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.ThinPrepSlideScanReceivedHandler(BarcodeScanPort_ThinPrepSlideScanReceived); this.Loaded += new RoutedEventHandler(CytologyWorkspace_Loaded); this.Unloaded += new RoutedEventHandler(CytologyWorkspace_Unloaded); this.ResultsGrid.Children.Add(this.m_CytologyResultsWorkspace); this.m_LabEventsControlTab = new LabEventsControlTab(this.m_SystemIdentity); this.TabControlLeft.Items.Add(this.m_LabEventsControlTab); }
public CytologyWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer) { this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler; this.m_SystemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_Writer = writer; this.m_CytologyUI = new CytologyUI(this.m_Writer); this.m_CytologyUI.AccessionChanged += new CytologyUI.AccessionChangedEventHandler(CytologyUI_AccessionChanged); this.m_CytologyResultsWorkspace = new CytologyResultsWorkspace(this.m_CytologyUI); this.m_CytologyUI.WHPOpened += CytologyUI_WHPOpened; this.m_CytologyUI.WHPClosed += CytologyUI_WHPClosed; this.m_DocumentViewer = new DocumentWorkspace(); InitializeComponent(); this.DataContext = this.m_CytologyUI; this.ContentControlDocumentViewer.Content = this.m_DocumentViewer; this.m_BarcodeScanPort.CytologySlideScanReceived += new YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.CytologySlideScanReceivedHandler(CytologySlideScanReceived); this.m_BarcodeScanPort.ThinPrepSlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.ThinPrepSlideScanReceivedHandler(BarcodeScanPort_ThinPrepSlideScanReceived); this.Loaded += new RoutedEventHandler(CytologyWorkspace_Loaded); this.Unloaded += new RoutedEventHandler(CytologyWorkspace_Unloaded); this.ResultsGrid.Children.Add(this.m_CytologyResultsWorkspace); this.m_LabEventsControlTab = new LabEventsControlTab(this.m_SystemIdentity); this.TabControlLeft.Items.Add(this.m_LabEventsControlTab); }
public LabWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer) { this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler; this.m_Writer = writer; this.m_SystemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance; this.m_LabUI = new LabUI(this.m_SystemIdentity, writer); this.m_AmendmentControl = new AmendmentControlV2(this.m_SystemIdentity, string.Empty, this.m_LabUI.AccessionOrder); this.m_DocumentViewer = new DocumentWorkspace(); this.m_TreeViewWorkspace = new YellowstonePathology.UI.Common.TreeViewWorkspace(this.m_LabUI.AccessionOrder, this.m_SystemIdentity); InitializeComponent(); this.TabItemDocumentWorkspace.Content = this.m_DocumentViewer; this.DataContext = this.m_LabUI; this.ComboBoxLogLocation.SelectionChanged -= this.ComboBoxLogLocation_SelectionChanged; this.ComboBoxLogLocation.SelectedIndex = 0; this.ComboBoxLogLocation.SelectionChanged += this.ComboBoxLogLocation_SelectionChanged; this.Loaded +=new RoutedEventHandler(LabWorkspace_Loaded); this.Unloaded += new RoutedEventHandler(LabWorkspace_Unloaded); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_ScanLogger = new YellowstonePathology.Business.Logging.ScanLogger(this.m_SystemIdentity); this.m_ScanLogger.Start(); this.ListViewDocumentList.ItemsSource = this.m_LabUI.CaseDocumentCollection; }
private SystemIdentity() { this.m_User = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetSystemUserByUserName(System.Windows.Forms.SystemInformation.UserName); this.m_IsKnown = true; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.SecurityBadgeScanReceived += new Business.BarcodeScanning.BarcodeScanPort.SecurityBadgeScanReceivedHandler(BarcodeScanPort_SecurityBadgeScanReceived); }
private SystemIdentity() { this.m_User = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetSystemUserByUserName(System.Windows.Forms.SystemInformation.UserName); this.m_IsKnown = true; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.SecurityBadgeScanReceived += new Business.BarcodeScanning.BarcodeScanPort.SecurityBadgeScanReceivedHandler(BarcodeScanPort_SecurityBadgeScanReceived); }
private void MaterialBatchPage_Loaded(object sender, RoutedEventArgs e) { this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.HistologySlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologySlideScanReceivedHandler(HistologySlideScanReceived); this.m_BarcodeScanPort.HistologyBlockScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologyBlockScanReceivedHandler(BarcodeScanPort_HistologyBlockScanReceived); this.m_BarcodeScanPort.ContainerScanReceived += new Business.BarcodeScanning.BarcodeScanPort.ContainerScanReceivedHandler(BarcodeScanPort_ContainerScanReceived); this.m_BarcodeScanPort.USPostalServiceCertifiedMailReceived += new Business.BarcodeScanning.BarcodeScanPort.USPostalServiceCertifiedMailReceivedHandler(BarcodeScanPort_USPostalServiceCertifiedMailReceived); }
public PantherStorageDialog() { this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.CytologySlideScanReceived += BarcodeScanPort_CytologySlideScanReceived; this.m_BarcodeScanPort.HistologySlideScanReceived += BarcodeScanPort_HistologySlideScanReceived; this.m_BarcodeScanPort.ThinPrepSlideScanReceived += BarcodeScanPort_ThinPrepSlideScanReceived; InitializeComponent(); }
public ClientLookupPage() { this.m_FavoriteClientCollection = Business.View.ClientLocationViewCollection.GetFavorites(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); this.DataContext = this; this.Loaded += new RoutedEventHandler(ClientLookupPage_Loaded); this.Unloaded += new RoutedEventHandler(ClientLookupPage_Unloaded); }
public ScanSecurityBadgePage(Visibility closeButtonVisibility) { this.m_CloseButtonVisibility = closeButtonVisibility; InitializeComponent(); DataContext = this; Business.User.SystemIdentity.Instance.SetToLoggedInUser(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.SecurityBadgeScanReceived += new Business.BarcodeScanning.BarcodeScanPort.SecurityBadgeScanReceivedHandler(BarcodeScanPort_SecurityBadgeScanReceived); }
public ScanContainerPage() { this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); DataContext = this; Loaded += new RoutedEventHandler(ScanContainerPage_Loaded); Unloaded += new RoutedEventHandler(ScanContainerPage_Unloaded); }
public ScanContainerPage() { this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); DataContext = this; Loaded += new RoutedEventHandler(ScanContainerPage_Loaded); Unloaded += new RoutedEventHandler(ScanContainerPage_Unloaded); }
public ClientLookupPage() { this.m_FavoriteClientCollection = Business.View.ClientLocationViewCollection.GetFavorites(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); this.DataContext = this; this.Loaded += new RoutedEventHandler(ClientLookupPage_Loaded); this.Unloaded += new RoutedEventHandler(ClientLookupPage_Unloaded); }
public ScanSecurityBadgePage(Visibility closeButtonVisibility) { this.m_CloseButtonVisibility = closeButtonVisibility; InitializeComponent(); DataContext = this; Business.User.SystemIdentity.Instance.SetToLoggedInUser(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.SecurityBadgeScanReceived += new Business.BarcodeScanning.BarcodeScanPort.SecurityBadgeScanReceivedHandler(BarcodeScanPort_SecurityBadgeScanReceived); }
public ClientOrderLookupPage(OrderTypeEnum ExpectedOrderType) { this.m_ExpectedOrderType = ExpectedOrderType; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); DataContext = this; Loaded += new RoutedEventHandler(ClientOrderLookupPage_Loaded); Unloaded += new RoutedEventHandler(ClientOrderLookupPage_Unloaded); }
public ClientOrderLookupPage(OrderTypeEnum ExpectedOrderType) { this.m_ExpectedOrderType = ExpectedOrderType; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); DataContext = this; Loaded += new RoutedEventHandler(ClientOrderLookupPage_Loaded); Unloaded +=new RoutedEventHandler(ClientOrderLookupPage_Unloaded); }
public ScanAliquotPage(YellowstonePathology.Business.User.SystemIdentity systemIdentity, string message) { this.m_SystemIdentity = systemIdentity; this.m_Message = message; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); DataContext = this; Loaded += new RoutedEventHandler(ScanContainerPage_Loaded); Unloaded += new RoutedEventHandler(ScanContainerPage_Unloaded); }
public ScanAliquotPage(YellowstonePathology.Business.User.SystemIdentity systemIdentity, string message) { this.m_SystemIdentity = systemIdentity; this.m_Message = message; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); DataContext = this; Loaded += new RoutedEventHandler(ScanContainerPage_Loaded); Unloaded += new RoutedEventHandler(ScanContainerPage_Unloaded); }
public PathologistsScanDialog() { this.m_AssignmentScanCollection = new Business.Surgical.AssignmentScanCollection(); InitializeComponent(); DataContext = this; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.HistologySlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologySlideScanReceivedHandler(HistologySlideScanReceived); this.m_BarcodeScanPort.ThinPrepSlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.ThinPrepSlideScanReceivedHandler(BarcodeScanPort_ThinPrepSlideScanReceived); this.m_BarcodeScanPort.CytologySlideScanReceived += new YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.CytologySlideScanReceivedHandler(CytologySlideScanReceived); this.m_BarcodeScanPort.HistologyBlockScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologyBlockScanReceivedHandler(HistologyBlockScanReceived); }
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 SpecimenOrderDetailsPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder) { this.m_AccessionOrder = accessionOrder; this.m_SpecimenOrder = specimenOrder; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_FixationTypeCollection = YellowstonePathology.Business.Specimen.Model.FixationType.GetFixationTypeCollection(); this.m_SpecimenAdequacyTypes = new FinalizeAccession.SpecimenAdequacyTypes(); InitializeComponent(); DataContext = this; this.Loaded += new RoutedEventHandler(SpecimenOrderDetailsPage_Loaded); Unloaded += SpecimenOrderDetailsPage_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); }
public MaterialTrackingDialog() { this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_AccessionSlideOrderViewCollection = new Business.View.AccessionSlideOrderViewCollection(); this.m_MaterialLocationCollection = YellowstonePathology.Business.Gateway.SlideAccessionGateway.GetMaterialLocationCollection(); this.m_MaterialTrackingBatchCollection = YellowstonePathology.Business.Gateway.SlideAccessionGateway.GetMaterialTrackingBatchCollection(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.HistologySlideScanReceived += HistologySlideScanReceived; this.m_SlideTrackingLogCollection = new YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingLogCollection(); this.Closing += new CancelEventHandler(MaterialTrackingDialog_Closing); InitializeComponent(); DataContext = this; }
public MaterialTrackingDialog() { this.m_SystemIdentity = Business.User.SystemIdentity.Instance; this.m_AccessionSlideOrderViewCollection = new Business.View.AccessionSlideOrderViewCollection(); this.m_MaterialLocationCollection = YellowstonePathology.Business.Gateway.SlideAccessionGateway.GetMaterialLocationCollection(); this.m_MaterialTrackingBatchCollection = YellowstonePathology.Business.Gateway.SlideAccessionGateway.GetMaterialTrackingBatchCollection(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.HistologySlideScanReceived += HistologySlideScanReceived; this.m_SlideTrackingLogCollection = new YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingLogCollection(); this.Closing += new CancelEventHandler(MaterialTrackingDialog_Closing); InitializeComponent(); DataContext = this; }
public ScanContainerPage(YellowstonePathology.Business.User.SystemIdentity systemIdentity, string message) { this.m_SystemIdentity = systemIdentity; this.m_Message = message; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_PageTimeOutTimer = new System.Windows.Threading.DispatcherTimer(); this.m_PageTimeOutTimer.Interval = new TimeSpan(0, 20, 0); this.m_PageTimeOutTimer.Tick += new EventHandler(PageTimeOutTimer_Tick); InitializeComponent(); DataContext = this; Loaded += new RoutedEventHandler(ScanContainerPage_Loaded); Unloaded += new RoutedEventHandler(ScanContainerPage_Unloaded); }
public ScanContainerPage(YellowstonePathology.Business.User.SystemIdentity systemIdentity, string message) { this.m_SystemIdentity = systemIdentity; this.m_Message = message; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_PageTimeOutTimer = new System.Windows.Threading.DispatcherTimer(); this.m_PageTimeOutTimer.Interval = new TimeSpan(0, 20, 0); this.m_PageTimeOutTimer.Tick += new EventHandler(PageTimeOutTimer_Tick); InitializeComponent(); DataContext = this; Loaded += new RoutedEventHandler(ScanContainerPage_Loaded); Unloaded += new RoutedEventHandler(ScanContainerPage_Unloaded); }
public MaterialTrackingCasePage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingLogCollection materialTrackingLogCollection) { this.m_MaterialIdList = new List <string>(); this.m_AccessionOrder = accessionOrder; this.m_MaterialTrackingLogCollection = materialTrackingLogCollection; this.m_MaterialTrackingLogList = this.m_MaterialTrackingLogCollection.ToList <YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingLog>(); this.m_PageHeaderText = "Material Tracking For Case: " + this.m_AccessionOrder.MasterAccessionNo + " - " + this.m_AccessionOrder.PatientDisplayName; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); this.DataContext = this; this.Loaded += new RoutedEventHandler(MaterialTrackingCasePage_Loaded); this.Unloaded += new RoutedEventHandler(MaterialTrackingCasePage_Unloaded); }
public MaterialTrackingCasePage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingLogCollection materialTrackingLogCollection) { this.m_MaterialIdList = new List<string>(); this.m_AccessionOrder = accessionOrder; this.m_MaterialTrackingLogCollection = materialTrackingLogCollection; this.m_MaterialTrackingLogList = this.m_MaterialTrackingLogCollection.ToList<YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingLog>(); this.m_PageHeaderText = "Material Tracking For Case: " + this.m_AccessionOrder.MasterAccessionNo + " - " + this.m_AccessionOrder.PatientDisplayName; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); this.DataContext = this; this.Loaded += new RoutedEventHandler(MaterialTrackingCasePage_Loaded); this.Unloaded += new RoutedEventHandler(MaterialTrackingCasePage_Unloaded); }
public EmbeddingDialog() { this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_WorkDate = DateTime.Today; this.m_EmbeddingScanCollection = Business.BarcodeScanning.EmbeddingScanCollection.GetByScanDate(this.m_WorkDate); this.m_StatusMessage = "Status: OK"; this.m_ScanCount = "Block Count: " + this.m_EmbeddingScanCollection.Count.ToString(); InitializeComponent(); this.DataContext = this; this.Loaded += EmbeddingDialog_Loaded; this.Unloaded += EmbeddingDialog_Unloaded; this.ComboBoxProcessorRuns.SelectedIndex = 0; }
//private System.Windows.Threading.DispatcherTimer m_PageTimeoutTimer; public ScanAliquotPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string lastMasterAccessionNo) { this.m_AccessionOrder = accessionOrder; this.m_LastMasterAccessionNo = lastMasterAccessionNo; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); DataContext = this; /*this.m_PageTimeoutTimer = new System.Windows.Threading.DispatcherTimer(); this.m_PageTimeoutTimer.Interval = TimeSpan.FromMinutes(15); this.m_PageTimeoutTimer.Tick += new EventHandler(PageTimeoutTimer_Tick); this.m_PageTimeoutTimer.Start();*/ this.Loaded += new RoutedEventHandler(ScanBlockPage_Loaded); this.Unloaded += new RoutedEventHandler(ScanBlockPage_Unloaded); }
//private System.Windows.Threading.DispatcherTimer m_PageTimeoutTimer; public ScanAliquotPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string lastMasterAccessionNo) { this.m_AccessionOrder = accessionOrder; this.m_LastMasterAccessionNo = lastMasterAccessionNo; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); DataContext = this; /*this.m_PageTimeoutTimer = new System.Windows.Threading.DispatcherTimer(); * this.m_PageTimeoutTimer.Interval = TimeSpan.FromMinutes(15); * this.m_PageTimeoutTimer.Tick += new EventHandler(PageTimeoutTimer_Tick); * this.m_PageTimeoutTimer.Start();*/ this.Loaded += new RoutedEventHandler(ScanBlockPage_Loaded); this.Unloaded += new RoutedEventHandler(ScanBlockPage_Unloaded); }
public ClientOrderWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer) { this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler; this.m_LoadedHasRun = false; this.m_Writer = writer; this.m_ClientOrderUI = new ClientOrderUI(this.m_Writer); this.m_DocumentViewer = new DocumentWorkspace(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); this.TabItemDocumentWorkspace.Content = this.m_DocumentViewer; this.DataContext = this.m_ClientOrderUI; this.Loaded += new RoutedEventHandler(ClientOrderWorkspace_Loaded); this.Unloaded += new RoutedEventHandler(ClientOrderWorkspace_Unloaded); }
public ClientOrderWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer) { this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler; this.m_LoadedHasRun = false; this.m_Writer = writer; this.m_ClientOrderUI = new ClientOrderUI(this.m_Writer); this.m_DocumentViewer = new DocumentWorkspace(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); this.TabItemDocumentWorkspace.Content = this.m_DocumentViewer; this.DataContext = this.m_ClientOrderUI; this.Loaded += new RoutedEventHandler(ClientOrderWorkspace_Loaded); this.Unloaded += new RoutedEventHandler(ClientOrderWorkspace_Unloaded); }
public ClientOrderDetailsPage(YellowstonePathology.UI.Navigation.PageNavigator pageNavigator, YellowstonePathology.Business.ClientOrder.Model.ClientOrderDetail clientOrderDetail, string specialInstructions) { this.m_PageNavigator = pageNavigator; this.m_ClientOrderDetail = clientOrderDetail; this.m_SpecialInstructions = specialInstructions; this.m_TimeToFixationTypeCollection = YellowstonePathology.Business.Specimen.Model.TimeToFixationType.GetTimeToFixationTypeCollection(); this.m_FixationTypeCollection = YellowstonePathology.Business.Specimen.Model.FixationType.GetFixationTypeCollection(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_SpecimenCollection = YellowstonePathology.Business.Specimen.Model.SpecimenCollection.GetAll(); this.DataContext = this; InitializeComponent(); this.Loaded += new RoutedEventHandler(ClientOrderDetailsPage_Loaded); this.Unloaded += new RoutedEventHandler(ClientOrderDetailsPage_Unloaded); }
public EmbeddingDialog() { this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_WorkDate = DateTime.Today; this.m_EmbeddingScanCollection = Business.BarcodeScanning.EmbeddingScanCollection.GetByScanDate(this.m_WorkDate); this.m_StatusMessage = "Status: OK"; this.m_ScanCount = "Block Count: " + this.m_EmbeddingScanCollection.Count.ToString(); this.m_AliquotsNotFoundList = new List <string>(); InitializeComponent(); this.DataContext = this; this.Loaded += EmbeddingDialog_Loaded; this.Unloaded += EmbeddingDialog_Unloaded; this.ComboBoxProcessorRuns.SelectedIndex = 0; }
public ClientOrderDetailsPage(YellowstonePathology.UI.Navigation.PageNavigator pageNavigator, YellowstonePathology.Business.ClientOrder.Model.ClientOrderDetail clientOrderDetail, string specialInstructions) { this.m_PageNavigator = pageNavigator; this.m_ClientOrderDetail = clientOrderDetail; this.m_SpecialInstructions = specialInstructions; this.m_TimeToFixationTypeCollection = YellowstonePathology.Business.Specimen.Model.TimeToFixationType.GetTimeToFixationTypeCollection(); this.m_FixationTypeCollection = YellowstonePathology.Business.Specimen.Model.FixationType.GetFixationTypeCollection(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_SpecimenCollection = YellowstonePathology.Business.Specimen.Model.SpecimenCollection.GetAll(); this.DataContext = this; InitializeComponent(); this.Loaded +=new RoutedEventHandler(ClientOrderDetailsPage_Loaded); this.Unloaded += new RoutedEventHandler(ClientOrderDetailsPage_Unloaded); }
public ThinPrepPapSlidePrintingPage(YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { this.m_SpecimenOrder = specimenOrder; this.m_AccessionOrder = accessionOrder; this.m_PageHeaderText = "Slide Printing Page "; this.m_BarcodeScanPort = Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_PageTimeOutTimer = new System.Windows.Threading.DispatcherTimer(); this.m_PageTimeOutTimer.Interval = new TimeSpan(0, 20, 0); this.m_PageTimeOutTimer.Tick += new EventHandler(PageTimeOutTimer_Tick); InitializeComponent(); DataContext = this; this.Loaded += new RoutedEventHandler(ThinPrepPapSlidePrintingPage_Loaded); this.Unloaded += new RoutedEventHandler(ThinPrepPapSlidePrintingPage_Unloaded); }
public ThinPrepPapSlidePrintingPage(YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder) { this.m_SpecimenOrder = specimenOrder; this.m_AccessionOrder = accessionOrder; this.m_PageHeaderText = "Slide Printing Page "; this.m_BarcodeScanPort = Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_PageTimeOutTimer = new System.Windows.Threading.DispatcherTimer(); this.m_PageTimeOutTimer.Interval = new TimeSpan(0, 20, 0); this.m_PageTimeOutTimer.Tick += new EventHandler(PageTimeOutTimer_Tick); InitializeComponent(); DataContext = this; this.Loaded += new RoutedEventHandler(ThinPrepPapSlidePrintingPage_Loaded); this.Unloaded += new RoutedEventHandler(ThinPrepPapSlidePrintingPage_Unloaded); }
public SlideTrackingResultPage(YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.User.SystemIdentity systemIdentity) : base(panelSetOrder, accessionOrder) { this.m_PanelSetOrder = panelSetOrder; this.m_AccessionOrder = accessionOrder; this.m_SystemIdentity = systemIdentity; this.m_VantageSlideViewCollection = new Business.Slide.Model.VantageSlideViewCollection(this.m_AccessionOrder.MasterAccessionNo); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_PageHeaderText = "Slide Tracking Result For: " + this.m_AccessionOrder.PatientDisplayName; InitializeComponent(); DataContext = this; this.Loaded += SlideTrackingResultPage_Loaded; this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext); this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults); }
public PrintBlockPage(YellowstonePathology.Business.User.SystemIdentity systemIdentity, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder) { this.m_SystemIdentity = systemIdentity; this.m_AccessionOrder = accessionOrder; this.m_SpecimenOrder = specimenOrder; this.SetReportNoToUse(); this.m_CaseNotesDocument = YellowstonePathology.Business.Gateway.XmlGateway.GetOrderComments(this.m_AccessionOrder.MasterAccessionNo); this.m_DocumentViewer = new DocumentWorkspace(); this.m_CaseDocumentCollection = new YellowstonePathology.Business.Document.CaseDocumentCollection(this.m_AccessionOrder, this.m_ReportNoToUse); this.m_GrossBlockManagementView = new Business.View.GrossBlockManagementView(this.m_AccessionOrder, this.m_CaseNotesDocument, this.m_SpecimenOrder); this.SetupSpecimenView(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_TestCollection = YellowstonePathology.Business.Test.Model.TestCollection.GetAllTests(); this.m_HandETest = this.m_TestCollection.GetTest(49); this.m_IronTest = this.m_TestCollection.GetTest(115); this.m_HPyloriTest = this.m_TestCollection.GetTest(107); this.m_FrozenTest = this.m_TestCollection.GetTest(45); this.Aliquots = 1; this.m_ListBoxBlocksMouseDownTimer = new System.Windows.Threading.DispatcherTimer(); this.m_ListBoxBlocksMouseDownTimer.Interval = new TimeSpan(0, 0, 0, 0, 750); this.m_ListBoxBlocksMouseDownTimer.Tick += new EventHandler(ListBoxBlocksMouseDownTimer_Tick); InitializeComponent(); DataContext = this; this.DocumentViewer.Content = this.m_DocumentViewer; Loaded += new RoutedEventHandler(PrintBlockPage_Loaded); Unloaded += new RoutedEventHandler(PrintBlockPage_Unloaded); }
public PrintBlockPage(YellowstonePathology.Business.User.SystemIdentity systemIdentity, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder) { this.m_SystemIdentity = systemIdentity; this.m_AccessionOrder = accessionOrder; this.m_SpecimenOrder = specimenOrder; this.SetReportNoToUse(); this.m_CaseNotesDocument = YellowstonePathology.Business.Gateway.XmlGateway.GetOrderComments(this.m_AccessionOrder.MasterAccessionNo); this.m_DocumentViewer = new DocumentWorkspace(); this.m_CaseDocumentCollection = new YellowstonePathology.Business.Document.CaseDocumentCollection(this.m_AccessionOrder, this.m_ReportNoToUse); this.m_GrossBlockManagementView = new Business.View.GrossBlockManagementView(this.m_AccessionOrder, this.m_CaseNotesDocument, this.m_SpecimenOrder); this.SetupSpecimenView(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_TestCollection = YellowstonePathology.Business.Test.Model.TestCollection.GetAllTests(); this.m_HandETest = this.m_TestCollection.GetTest(49); this.m_IronTest = this.m_TestCollection.GetTest(115); this.m_HPyloriTest = this.m_TestCollection.GetTest(107); this.m_FrozenTest = this.m_TestCollection.GetTest(45); this.Aliquots = 1; this.m_ListBoxBlocksMouseDownTimer = new System.Windows.Threading.DispatcherTimer(); this.m_ListBoxBlocksMouseDownTimer.Interval = new TimeSpan(0, 0, 0, 0, 750); this.m_ListBoxBlocksMouseDownTimer.Tick += new EventHandler(ListBoxBlocksMouseDownTimer_Tick); InitializeComponent(); DataContext = this; this.DocumentViewer.Content = this.m_DocumentViewer; Loaded += new RoutedEventHandler(PrintBlockPage_Loaded); Unloaded += new RoutedEventHandler(PrintBlockPage_Unloaded); }
public PathologistWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer) { this.m_Writer = writer; this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler; this.m_SystemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance; m_Loaded = false; this.m_PathologistUI = new PathologistUI(writer); InitializeComponent(); this.DataContext = this.m_PathologistUI; this.Loaded += new RoutedEventHandler(PathologistWorkspace_Loaded); this.Unloaded += new RoutedEventHandler(PathologistWorkspace_Unloaded); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.CytologySlideScanReceived += new YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.CytologySlideScanReceivedHandler(CytologySlideScanReceived); this.m_BarcodeScanPort.HistologySlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologySlideScanReceivedHandler(HistologySlideScanReceived); this.m_BarcodeScanPort.HistologyBlockScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologyBlockScanReceivedHandler(BarcodeScanPort_HistologyBlockScanReceived); this.m_BarcodeScanPort.ThinPrepSlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.ThinPrepSlideScanReceivedHandler(BarcodeScanPort_ThinPrepSlideScanReceived); }
public PathologistWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer) { this.m_Writer = writer; this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler; this.m_SystemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance; m_Loaded = false; this.m_PathologistUI = new PathologistUI(writer); InitializeComponent(); this.DataContext = this.m_PathologistUI; this.Loaded += new RoutedEventHandler(PathologistWorkspace_Loaded); this.Unloaded += new RoutedEventHandler(PathologistWorkspace_Unloaded); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.CytologySlideScanReceived += new YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.CytologySlideScanReceivedHandler(CytologySlideScanReceived); this.m_BarcodeScanPort.HistologySlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologySlideScanReceivedHandler(HistologySlideScanReceived); this.m_BarcodeScanPort.HistologyBlockScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologyBlockScanReceivedHandler(BarcodeScanPort_HistologyBlockScanReceived); this.m_BarcodeScanPort.ThinPrepSlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.ThinPrepSlideScanReceivedHandler(BarcodeScanPort_ThinPrepSlideScanReceived); }
public LoginWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer) { this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler; this.m_LoadedHasRun = false; this.m_Writer = writer; this.CommandBindingRemoveTab = new CommandBinding(MainWindow.RemoveTabCommand, RemoveTab); this.CommandBindings.Add(this.CommandBindingRemoveTab); this.m_LoginUI = new LoginUIV2(this.m_Writer); this.m_DocumentViewer = new DocumentWorkspace(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); this.TabItemDocumentWorkspace.Content = this.m_DocumentViewer; this.DataContext = this.m_LoginUI; this.Loaded += new RoutedEventHandler(LoginWorkspace_Loaded); this.Unloaded += new RoutedEventHandler(LoginWorkspace_Unloaded); }
public LoginWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer) { this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler; this.m_LoadedHasRun = false; this.m_Writer = writer; this.CommandBindingRemoveTab = new CommandBinding(MainWindow.RemoveTabCommand, RemoveTab); this.CommandBindings.Add(this.CommandBindingRemoveTab); this.m_LoginUI = new LoginUIV2(this.m_Writer); this.m_DocumentViewer = new DocumentWorkspace(); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); this.TabItemDocumentWorkspace.Content = this.m_DocumentViewer; this.DataContext = this.m_LoginUI; this.Loaded += new RoutedEventHandler(LoginWorkspace_Loaded); this.Unloaded += new RoutedEventHandler(LoginWorkspace_Unloaded); }
public ScanPage() { this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; InitializeComponent(); }
private void MaterialBatchPage_Loaded(object sender, RoutedEventArgs e) { this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_BarcodeScanPort.HistologySlideScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologySlideScanReceivedHandler(HistologySlideScanReceived); this.m_BarcodeScanPort.HistologyBlockScanReceived += new Business.BarcodeScanning.BarcodeScanPort.HistologyBlockScanReceivedHandler(BarcodeScanPort_HistologyBlockScanReceived); this.m_BarcodeScanPort.ContainerScanReceived += new Business.BarcodeScanning.BarcodeScanPort.ContainerScanReceivedHandler(BarcodeScanPort_ContainerScanReceived); this.m_BarcodeScanPort.USPostalServiceCertifiedMailReceived += new Business.BarcodeScanning.BarcodeScanPort.USPostalServiceCertifiedMailReceivedHandler(BarcodeScanPort_USPostalServiceCertifiedMailReceived); this.m_BarcodeScanPort.ThinPrepSlideScanReceived += BarcodeScanPort_ThinPrepSlideScanReceived; }
//private string m_ScannerPortName; public ScanLogger(YellowstonePathology.Business.User.SystemIdentity systemIdentity) { this.m_SystemIdentity = systemIdentity; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; }
public LabWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer) { this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler; this.m_Writer = writer; this.m_SystemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance; this.CommandBindingApplicationClosing = new CommandBinding(MainWindow.ApplicationClosingCommand, CloseWorkspace); this.CommandBindingShowCaseDocument = new CommandBinding(MainWindow.ShowCaseDocumentCommand, ShowCaseDocument); this.CommandBindingShowOrderForm = new CommandBinding(MainWindow.ShowOrderFormCommand, this.ShowOrderForm, ItemIsSelected); this.CommandBindingPatientLinking = new CommandBinding(MainWindow.PatientLinkingCommand, this.LinkPatient, ItemIsSelected); this.CommandBindingRemoveTab = new CommandBinding(MainWindow.RemoveTabCommand, RemoveTab); this.CommandBindingShowPatientEditDialog = new CommandBinding(MainWindow.ShowPatientEditDialogCommand, this.ShowPatientEditDialog); this.CommandBindings.Add(this.CommandBindingApplicationClosing); this.CommandBindings.Add(this.CommandBindingShowCaseDocument); this.CommandBindings.Add(this.CommandBindingShowOrderForm); this.CommandBindings.Add(this.CommandBindingPatientLinking); this.CommandBindings.Add(this.CommandBindingRemoveTab); this.CommandBindings.Add(this.CommandBindingShowPatientEditDialog); this.m_LabUI = new LabUI(this.m_SystemIdentity, writer); this.m_AmendmentControl = new AmendmentControlV2(this.m_SystemIdentity, string.Empty, this.m_LabUI.AccessionOrder); this.m_DocumentViewer = new DocumentWorkspace(); this.m_TreeViewWorkspace = new YellowstonePathology.UI.Common.TreeViewWorkspace(this.m_LabUI.AccessionOrder, this.m_SystemIdentity); InitializeComponent(); this.TabItemDocumentWorkspace.Content = this.m_DocumentViewer; this.DataContext = this.m_LabUI; this.ComboBoxLogLocation.SelectionChanged -= this.ComboBoxLogLocation_SelectionChanged; this.ComboBoxLogLocation.SelectedIndex = 0; this.ComboBoxLogLocation.SelectionChanged += this.ComboBoxLogLocation_SelectionChanged; this.Loaded +=new RoutedEventHandler(LabWorkspace_Loaded); this.Unloaded += new RoutedEventHandler(LabWorkspace_Unloaded); this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; this.m_ScanLogger = new YellowstonePathology.Business.Logging.ScanLogger(this.m_SystemIdentity); this.m_ScanLogger.Start(); this.ListViewDocumentList.ItemsSource = this.m_LabUI.CaseDocumentCollection; }
//private string m_ScannerPortName; public ScanLogger(YellowstonePathology.Business.User.SystemIdentity systemIdentity) { this.m_SystemIdentity = systemIdentity; this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance; }