Beispiel #1
0
        public LeukemiaLymphomaSignoutPage(string masterAccessionNo)
        {
            this.m_FlowSignoutServiceProxy = new Proxy.FlowSignoutServiceProxy();
            this.m_FlowAccessionCollection = this.m_FlowSignoutServiceProxy.GetFlowAccessionCollection(masterAccessionNo);
            this.m_FlowAccessionCollection[0].SetOriginalValues();
            YellowstonePathology.Business.Domain.Persistence.SerializationHelper.SetTrackingState(this.m_FlowAccessionCollection);
            this.m_FlowCommentCollection = new Contract.Flow.FlowCommentCollection();
            YellowstonePathology.Business.Domain.Persistence.SerializationHelper.SetTrackingState(this.m_FlowCommentCollection);

            YellowstonePathology.YpiConnect.Proxy.WebServiceAccountServiceProxy webServiceAccountServiceProxy = new Proxy.WebServiceAccountServiceProxy();
            this.m_WebServiceAccountCollection = webServiceAccountServiceProxy.GetWebServiceAccountCollectionByFacilityId(YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount.FacilityId);

            InitializeComponent();

            this.DataContext = this;
            this.Loaded     += new RoutedEventHandler(LeukemiaLymphomaSignoutPage_Loaded);
        }
Beispiel #2
0
        public YellowstonePathology.YpiConnect.Contract.Identity.WebServiceAccountCollection GetWebServiceAccountCollectionByFacilityId(string facilityId)
        {
            YellowstonePathology.YpiConnect.Service.Identity.WebServiceAccountGateway     webServiceAccountGateway    = new WebServiceAccountGateway();
            YellowstonePathology.YpiConnect.Contract.Identity.WebServiceAccountCollection webServiceAccountCollection = webServiceAccountGateway.GetWebServiceAccountCollectionByFacilityId(facilityId);

            return(webServiceAccountCollection);
        }