void OnRequestNavigate(object sender, RequestNavigateEventArgs e) { if (RequestNavigate != null) { RequestNavigate(sender, e); } var uri = e.Hyperlink.NavigateUri != null ? e.Hyperlink.NavigateUri.ToString() : ""; if (uri.StartsWith("#") && uri.Length > 1) { var id = uri.Substring(1); var element = richTB.Document.EnumerateSubtree().FirstOrDefault(el => el.Id == id); if (element != null) { richTB.ScrollTo(element.ContentStart.ClosestCaret); } } }
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { Process.Start(e.Uri.AbsoluteUri); }
private void blogLink_RequestNavigate(object sender, RequestNavigateEventArgs e) { Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri)); }
void HyperlinkOnRequestNavigate(object sender, RequestNavigateEventArgs args) { NavigationService.Navigate(args.Uri); args.Handled = true; }
public void EH_OpenSourceCode(object sender, RequestNavigateEventArgs e) { System.Diagnostics.Process.Start(e.Uri.AbsoluteUri); //Open GitHub repos }
void Window_RequestNavigate(object sender, RequestNavigateEventArgs e) { ILSpy.MainWindow.Instance.NavigateTo(e); }
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { System.Diagnostics.Process.Start("explorer.exe", e.Uri.AbsoluteUri); e.Handled = true; }
private void _sbHyperlink_OnRequestNavigate(object sender, RequestNavigateEventArgs e) { Process.Start(e.Uri.ToString()); }
private void WDP_RequestNavigate(object sender, RequestNavigateEventArgs e) { System.Diagnostics.Process.Start("http://www.weapondeliveryplanner.nl/"); }
private void SharedDeckUrlClick(object sender, RequestNavigateEventArgs e) { Program.LaunchUrl(e.Uri.ToString()); }
private void SharedDeckCopyClick(object sender, RequestNavigateEventArgs e) { Clipboard.SetText(e.Uri.ToString()); }
private void OnHyperlinkRequestNavigate(RequestNavigateEventArgs requestNavigateEventArgs) { Stats.SendMultiInstanceStatsAsync("mim_update_checker_faq_url_clicked", "", "", "", 0, "", 0, "bgp", "", "", "", "", RegistryManager.Instance.CampaignMD5, true, ""); Utils.OpenUrl(requestNavigateEventArgs.Uri.OriginalString); }
private void Hyperlink_OnRequestNavigate(object sender, RequestNavigateEventArgs e) { ProcessEx.StartShellExecute(e.Uri.AbsoluteUri); e.Handled = true; }
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { System.Diagnostics.Process.Start("https://hitcom.pro/"); }
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { pause = true; string s = Convert.ToString(DateTime.Now.ToString("yyyy-MM-dd")); clickedToday(y); if (!string.IsNullOrEmpty(MyURL) && clicked == false) { Process.Start(new ProcessStartInfo(MyURL)); //Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri)); switch (y) { case 0: Settings.Default.link0clickeddate = s; Settings.Default.Save(); break; case 1: Settings.Default.link1clickeddate = s; Settings.Default.Save(); break; case 2: Settings.Default.link2clickeddate = s; Settings.Default.Save(); break; case 3: Settings.Default.link3clickeddate = s; Settings.Default.Save(); break; case 4: Settings.Default.link4clickeddate = s; Settings.Default.Save(); break; case 5: Settings.Default.link5clickeddate = s; Settings.Default.Save(); break; case 6: Settings.Default.link6clickeddate = s; Settings.Default.Save(); break; case 7: Settings.Default.link7clickeddate = s; Settings.Default.Save(); break; case 8: Settings.Default.link8clickeddate = s; Settings.Default.Save(); break; case 9999: MessageBox.Show("Error"); return; default: MessageBox.Show("Error"); return; } e.Handled = true; pause = false; } else { if (clicked == true) { Process.Start(new ProcessStartInfo(MyURL2)); e.Handled = false; pause = false; return; } else { e.Handled = false; pause = false; } } }
private void Serfoss2003_RequestNavigate(object sender, RequestNavigateEventArgs e) { System.Diagnostics.Process.Start("https://apps.dtic.mil/docs/citations/ADA414893"); }
private void HylServerLinkUri_OnRequestNavigate(object sender, RequestNavigateEventArgs e) { new [] { "https://discord.gg", App.ServerInviteCode }.Combine().OpenWebsite(); e.Handled = true; }
void hp_RequestNavigate(object sender, RequestNavigateEventArgs e) { RequestNavigate(sender, e); }
private void NavigateToCockpit(object sender, RequestNavigateEventArgs e) { System.Diagnostics.Process.Start(cockpiturl); }
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { this.ObjectSelectionViewModel.NavigateHyperlink(e.Uri); e.Handled = true; }
private void NavigateToMoreInformation(object sender, RequestNavigateEventArgs e) => Process.Start(DocumentationLinks.About.OriginalString);
private void HandleLinkClick(object sender, RequestNavigateEventArgs e) { System.Diagnostics.Process.Start(@"http://ginger/Downloads/Other"); e.Handled = true; }
private void OnNavigate(object sender, RequestNavigateEventArgs e) { Process.Start(e.Uri.AbsoluteUri); e.Handled = true; }
private void AboutLinksRequestNavigate(object sender, RequestNavigateEventArgs e) { Process.Start(e.Uri.ToString()); }
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { ProcessUtils.OpenUrl(e.Uri.AbsoluteUri); e.Handled = true; }
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { Program.LaunchUrl(e.Uri.ToString()); }
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri)); e.Handled = true; }
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { }
/// <summary> /// Handles the RequestNavigate event of the Hyperlink control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="RequestNavigateEventArgs"/> instance containing the event data.</param> private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { System.Diagnostics.Process.Start(e.Uri.ToString()); }
private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) => Helper.TryOpenUrl(e.Uri.AbsoluteUri);
void Window_RequestNavigate(object sender, RequestNavigateEventArgs e) { if (e.Uri.Scheme == "resource") { AvalonEditTextOutput output = new AvalonEditTextOutput(); using (Stream s = typeof(App).Assembly.GetManifestResourceStream(typeof(dnSpy.StartUpClass), e.Uri.AbsolutePath)) { using (StreamReader r = new StreamReader(s)) { string line; while ((line = r.ReadLine()) != null) { output.Write(line, TextTokenType.Text); output.WriteLine(); } } } var textView = ILSpy.MainWindow.Instance.SafeActiveTextView; textView.ShowText(output); ILSpy.MainWindow.Instance.SetTitle(textView, e.Uri.AbsolutePath); e.Handled = true; } }
private void Hyperlink_OnRequestNavigate(object sender, RequestNavigateEventArgs e) { Process.Start("https://www.deepl.com/api-contact.html"); }