Beispiel #1
0
        private void HyperlinkClick(object sender, RoutedEventArgs e)
        {
            Hyperlink hyperlink = (Hyperlink)sender;

            if (hyperlink.NavigateUri != null)
            {
                WebPageLauncher.Navigate(hyperlink.NavigateUri, this.messageDisplayService);
            }
        }
Beispiel #2
0
 private void Hyperlink_Click(object sender, EventArgs e)
 {
     WebPageLauncher.Navigate(((Hyperlink)sender).NavigateUri, (IMessageDisplayService)null);
 }
 public override void Execute()
 {
     WebPageLauncher.Navigate(this.url, this.services.GetService <IMessageDisplayService>());
 }
 public override void Execute()
 {
     WebPageLauncher.Navigate(new Uri("http://go.microsoft.com/fwlink/?LinkId=82128", UriKind.Absolute), this.services.GetService <IMessageDisplayService>());
 }
Beispiel #5
0
 private void Hyperlink_Click(object sender, RoutedEventArgs e)
 {
     WebPageLauncher.Navigate(((Hyperlink)sender).NavigateUri, this.services.GetService <IMessageDisplayService>());
 }
Beispiel #6
0
 public void LaunchWebPage(Uri uri)
 {
     WebPageLauncher.Navigate(uri, (Action <string>)null, (string)null);
 }