private void Tooltip_MarkupLinkClick(object sender, MarkupLinkClickEventArgs e) { OnMarkupLinkClick(e); }
private void labelItem1_MarkupLinkClick(object sender, DevComponents.DotNetBar.MarkupLinkClickEventArgs e) { System.Diagnostics.Process.Start("http://www.devcomponents.com/kb2/?p=894"); }
/// <summary> /// Raises the MarkupLinkClick event. /// </summary> protected virtual void OnMarkupLinkClick(MarkupLinkClickEventArgs e) { if (MarkupLinkClick != null) MarkupLinkClick(this, e); }
private void TextPanelMarkupLinkClick(object sender, MarkupLinkClickEventArgs e) { MessageBoxEx.InvokeMarkupLinkClick(sender, e); }
/// <summary> /// Open browser on click /// </summary> private void OnMarkupLinkClick(object sender, MarkupLinkClickEventArgs e) { var href = e.HRef; if (href.StartsWith("http:") || href.StartsWith("https:") || href.StartsWith("ftp:")) { try { Process.Start(href); } catch { // Ignore } } }
internal static void InvokeMarkupLinkClick(object sender, MarkupLinkClickEventArgs e) { MarkupLinkClickEventHandler h = MarkupLinkClick; if (h != null) h(sender, e); }
private void MarkupLinkClick(object sender, MarkupLinkClickEventArgs e) { TaskDialog.InvokeMarkupLinkClick(sender, e); }
/// <summary> /// Occurs when text markup link is clicked. /// </summary> private void RibbonStripTitleTextMarkupLinkClick(object sender, MarkupLinkClickEventArgs e) { if (TitleTextMarkupLinkClick != null) TitleTextMarkupLinkClick(this, new MarkupLinkClickEventArgs(e.Name, e.HRef)); }
private void OnUrlLabelClick(object sender, MarkupLinkClickEventArgs e) { Process.Start(e.HRef); }
private void LabelMarkupLinkClick(object sender, MarkupLinkClickEventArgs e) { OnMarkupLinkClick(e); }