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); }