public AmendmentEditPage(AmendmentUI amendmentUI)
        {
            this.m_AmendmentUI = amendmentUI;
            this.AmendmentSigners = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.AmendmentSigner, true);

            InitializeComponent();

            DataContext = this;
        }
Exemple #2
0
        public AmendmentEditPage(AmendmentUI amendmentUI)
        {
            this.m_AmendmentUI    = amendmentUI;
            this.AmendmentSigners = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.AmendmentSigner, true);

            InitializeComponent();

            DataContext = this;
        }
Exemple #3
0
 public AmendmentListPage(AmendmentUI amendmentUI)
 {
     this.m_AmendmentUI = amendmentUI;
     InitializeComponent();
     DataContext = this;
     if (this.m_AmendmentUI.AccessionOrder.AccessionLock.IsLockAquiredByMe == false)
     {
         this.ButtonAdd.IsEnabled    = false;
         this.ButtonDelete.IsEnabled = false;
         this.ButtonEdit.IsEnabled   = false;
         this.ListViewAmendments.MouseDoubleClick -= this.ListViewAmendments_MouseDoubleClick;
     }
 }
        public AmendmentPageController(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
            YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder)
        {
            this.m_AmendmentUI = new AmendmentUI(accessionOrder, panelSetOrder);
            InitializeComponent();

            this.DataContext = this;
            Closing += new System.ComponentModel.CancelEventHandler(AmendmentPageController_Closing);
            this.Title = "Amendments for " + panelSetOrder.ReportNo + "   " + accessionOrder.PatientName;

            AmendmentListPage amendmentListPage = new AmendmentListPage(this.m_AmendmentUI);
            this.NavigationFrame.NavigationService.Navigate(amendmentListPage);
        }
        public AmendmentPageController(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                       YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder)
        {
            this.m_AmendmentUI = new AmendmentUI(accessionOrder, panelSetOrder);
            InitializeComponent();

            this.DataContext = this;
            Closing         += new System.ComponentModel.CancelEventHandler(AmendmentPageController_Closing);
            this.Title       = "Amendments for " + panelSetOrder.ReportNo + "   " + accessionOrder.PatientName;

            AmendmentListPage amendmentListPage = new AmendmentListPage(this.m_AmendmentUI);

            this.NavigationFrame.NavigationService.Navigate(amendmentListPage);
        }
        public AmendmentEditPage(AmendmentUI amendmentUI)
        {
            this.m_AmendmentUI    = amendmentUI;
            this.AmendmentSigners = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.AmendmentSigner, true);

            InitializeComponent();

            DataContext = this;

            if (this.m_AmendmentUI.AccessionOrder.AccessionLock.IsLockAquiredByMe == false)
            {
                this.GridType.IsEnabled             = false;
                this.StackPanelCheckBoxes.IsEnabled = false;
                this.GridDates.IsEnabled            = false;
                this.TextBoxAmendment.IsEnabled     = false;
                this.ButtonFinalize.IsEnabled       = false;
            }
        }
 public AmendmentListPage(AmendmentUI amendmentUI)
 {
     this.m_AmendmentUI = amendmentUI;
     InitializeComponent();
     DataContext = this;
 }
 public AmendmentListPage(AmendmentUI amendmentUI)
 {
     this.m_AmendmentUI = amendmentUI;
     InitializeComponent();
     DataContext = this;
 }