public ReviewClientOrderPage(YellowstonePathology.Business.Rules.Surgical.PatientRecentAccessions patientRecentAccessions,
			YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder,
			UI.Navigation.PageNavigator pageNavigator)
        {
            this.m_PatientRecentAccessions = patientRecentAccessions;
            this.m_ClientOrder = clientOrder;
            this.m_PageNavigator = pageNavigator;

            InitializeComponent();

            this.DataContext = this;

            if (this.m_ClientOrder.Accessioned == true)
            {
                this.m_CloseButtonVisibility = System.Windows.Visibility.Collapsed;
                this.m_NextButtonVisibility = System.Windows.Visibility.Visible;
            }
            else
            {
                this.m_CloseButtonVisibility = System.Windows.Visibility.Visible;
                this.m_NextButtonVisibility = System.Windows.Visibility.Collapsed;
            }

            this.Loaded += new RoutedEventHandler(ReviewClientOrderPage_Loaded);
        }
Ejemplo n.º 2
0
        public ReviewClientOrderPage(YellowstonePathology.Business.Rules.Surgical.PatientRecentAccessions patientRecentAccessions,
                                     YellowstonePathology.Business.ClientOrder.Model.ClientOrder clientOrder,
                                     UI.Navigation.PageNavigator pageNavigator)
        {
            this.m_PatientRecentAccessions = patientRecentAccessions;
            this.m_ClientOrder             = clientOrder;
            this.m_PageNavigator           = pageNavigator;

            this.SetClientOrderCollection();

            InitializeComponent();

            this.DataContext = this;

            if (this.m_ClientOrder.Accessioned == true)
            {
                this.m_CloseButtonVisibility = System.Windows.Visibility.Collapsed;
                this.m_NextButtonVisibility  = System.Windows.Visibility.Visible;
            }
            else
            {
                this.m_CloseButtonVisibility = System.Windows.Visibility.Visible;
                this.m_NextButtonVisibility  = System.Windows.Visibility.Collapsed;
            }

            this.Loaded += new RoutedEventHandler(ReviewClientOrderPage_Loaded);
        }