private void OwnershipPage_Return(object sender, Shared.PageNavigationReturnEventArgs e)
 {
     ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(this);
     YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new Business.Rules.ExecutionStatus();
     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;
 }
        public ThinPrepPapOrderEntryPage(YellowstonePathology.Domain.ClientOrder.Model.CytologyClientOrder clientOrder, YellowstonePathology.Persistence.ObjectTracker objectTracker)
        {
            this.m_ShowInactiveSpecimen = false;
            this.m_IsLoadingSpecimen    = false;
            this.m_ClientOrder          = clientOrder;
            this.m_ObjectTracker        = objectTracker;

            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);
        }
        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);
        }
 private void OwnershipPage_Return(object sender, YellowstonePathology.YpiConnect.Client.PageNavigationReturnEventArgs e)
 {
     ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(this);
     YellowstonePathology.Business.Rules.ExecutionStatus executionStatus = new Business.Rules.ExecutionStatus();
     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;
 }