static void dialog_HyperlinkClick(object sender, TaskDialogHyperlinkClickedEventArgs e) { try { // Launch the application associated with http links Process.Start(e.LinkText); } catch (Exception) { ShowMessageBox(null, "Error", "Could not activate link", "Could not activate hyperlink, if this is a URL, try visiting the website manually.", null, TaskDialogStandardButtons.Ok, TaskDialogStandardIcon.Error, null); } }
private static void Td_HyperlinkClick(object sender, TaskDialogHyperlinkClickedEventArgs e) { System.Diagnostics.Process.Start(e.LinkText); }
private void OnHyperlinkClick(TaskDialog dialog, [CanBeNull] IWin32Window owner, TaskDialogHyperlinkClickedEventArgs args) { switch (args.LinkText) { case CopyDetailsHref: CopyDetailsToClipboard(owner); return; case EditReportHref: EditErrorReport(dialog, owner); return; } }
static void taskHelp_HyperlinkClick(object sender, TaskDialogHyperlinkClickedEventArgs e) { // Launch the application associated with http links Process.Start(e.LinkText); }
private void OnHyperlinkClick(object sender, TaskDialogHyperlinkClickedEventArgs e) { MessageBox.Show("Link clicked: " + e.LinkText); }
private void HyperlinkClicked(object sender, TaskDialogHyperlinkClickedEventArgs args) { Process.Start(args.LinkText); }