private void HyperlinkClick(object sender, RoutedEventArgs e) { Hyperlink hyperlink = (Hyperlink)sender; if (hyperlink.NavigateUri != null) { WebPageLauncher.Navigate(hyperlink.NavigateUri, this.messageDisplayService); } }
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>()); }
private void Hyperlink_Click(object sender, RoutedEventArgs e) { WebPageLauncher.Navigate(((Hyperlink)sender).NavigateUri, this.services.GetService <IMessageDisplayService>()); }
public void LaunchWebPage(Uri uri) { WebPageLauncher.Navigate(uri, (Action <string>)null, (string)null); }