public ClientOrderPage(YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder) { this.m_ClientOrder = clientOrder; this.m_ClientOrderDetailViewCollection = new Login.ClientOrderDetailViewCollection(this.m_ClientOrder.ClientOrderDetailCollection); InitializeComponent(); this.DataContext = this; this.Loaded += new RoutedEventHandler(ClientOrderPage_Loaded); }
public SpecimenListPage(YellowstonePathology.Domain.ClientOrder.Model.ClientOrder clientOrder) { this.m_ClientOrder = clientOrder; this.m_ClientOrderDetailViewCollection = new ClientOrderDetailViewCollection(this.m_ClientOrder.ClientOrderDetailCollection, this.m_ShowInactiveSpecimen); InitializeComponent(); this.DataContext = this; this.Loaded += new RoutedEventHandler(SpecimenListPage_Loaded); }
public OrderEntryPage(YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder) { this.m_ShowInactiveSpecimen = false; this.m_IsLoadingSpecimen = false; this.m_ClientOrder = clientOrder; this.m_ClientOrderDetailViewCollection = new ClientOrderDetailViewCollection(this.m_ClientOrder.ClientOrderDetailCollection, this.m_ShowInactiveSpecimen); YellowstonePathology.Business.Rules.MethodResult methodResult = new Business.Rules.MethodResult(); this.m_HandleClientDateentryPropertyAccess = new Rules.HandleClientDataEntryPropertyAccess(executionStatus); this.m_HandleClientDateentryPropertyAccess.Execute(this.m_ClientOrder, methodResult); this.AreDemographicsEnabled = methodResult.Success; this.AreSpecimenEnabled = methodResult.Success; this.AreButtonsEnabled = methodResult.Success; InitializeComponent(); this.DataContext = this; this.Loaded += new RoutedEventHandler(OrderEntryPage_Loaded); }