Ejemplo n.º 1
0
        private void HyperlinkSendMail_Click(object sender, RoutedEventArgs e)
        {
            Hyperlink hyperlink = (Hyperlink)sender;
            string    to        = hyperlink.Tag.ToString();

            YellowstonePathology.YpiConnect.Contract.Message message = new Contract.Message(to, YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount);
            MessagePage messagePage = new MessagePage(message);

            ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(messagePage);
        }
Ejemplo n.º 2
0
        private void HyperlinkSendMessage_Click(object sender, RoutedEventArgs e)
        {
            YpiConnect.Contract.Message message = new Contract.Message("*****@*****.**", YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount);
            if (this.ListViewSearchResults.SelectedItem != null)
            {
                YellowstonePathology.YpiConnect.Contract.Billing.BillingAccession billingAccession = (YellowstonePathology.YpiConnect.Contract.Billing.BillingAccession) this.ListViewSearchResults.SelectedItem;
                message.ReportNo    = billingAccession.ReportNo;
                message.PatientName = billingAccession.FirstName + " " + billingAccession.LastName;
            }
            MessagePage messagePage = new MessagePage(message);

            ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(messagePage);
        }
Ejemplo n.º 3
0
        private void HyperlinkSendMessage_Click(object sender, RoutedEventArgs e)
        {
            YpiConnect.Contract.Message message = new Contract.Message("*****@*****.**", YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount);
            if (this.ListViewSearchResults.SelectedItem != null)
            {
                YpiConnect.Contract.Search.SearchResult searchResult = (YpiConnect.Contract.Search.SearchResult) this.ListViewSearchResults.SelectedItem;
                message.ReportNo    = searchResult.ReportNo;
                message.PatientName = searchResult.PatientName;
            }
            MessagePage messagePage = new MessagePage(message);

            ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(messagePage);
        }
Ejemplo n.º 4
0
 private void HyperlinkSendMail_Click(object sender, RoutedEventArgs e)
 {
     Hyperlink hyperlink = (Hyperlink)sender;
     string to = hyperlink.Tag.ToString();
     YellowstonePathology.YpiConnect.Contract.Message message = new Contract.Message(to, YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount);
     MessagePage messagePage = new MessagePage(message);
     ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(messagePage);
 }
 private void HyperlinkSendMessage_Click(object sender, RoutedEventArgs e)
 {
     YpiConnect.Contract.Message message = new Contract.Message("*****@*****.**", YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount);
     if (this.ListViewSearchResults.SelectedItem != null)
     {
         YpiConnect.Contract.Search.SearchResult searchResult = (YpiConnect.Contract.Search.SearchResult)this.ListViewSearchResults.SelectedItem;
         message.ReportNo = searchResult.ReportNo;
         message.PatientName = searchResult.PatientName;
     }
     MessagePage messagePage = new MessagePage(message);
     ApplicationNavigator.ApplicationContentFrame.NavigationService.Navigate(messagePage);
 }