예제 #1
0
 private void Tooltip_MarkupLinkClick(object sender, MarkupLinkClickEventArgs e)
 {
     OnMarkupLinkClick(e);
 }
예제 #2
0
 private void labelItem1_MarkupLinkClick(object sender, DevComponents.DotNetBar.MarkupLinkClickEventArgs e)
 {
     System.Diagnostics.Process.Start("http://www.devcomponents.com/kb2/?p=894");
 }
예제 #3
0
 /// <summary>
 /// Raises the MarkupLinkClick event.
 /// </summary>
 protected virtual void OnMarkupLinkClick(MarkupLinkClickEventArgs e)
 {
     if (MarkupLinkClick != null)
         MarkupLinkClick(this, e);
 }
예제 #4
0
 private void TextPanelMarkupLinkClick(object sender, MarkupLinkClickEventArgs e)
 {
     MessageBoxEx.InvokeMarkupLinkClick(sender, e);
 }
예제 #5
0
 /// <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
         }
     }
 }
예제 #6
0
 internal static void InvokeMarkupLinkClick(object sender, MarkupLinkClickEventArgs e)
 {
     MarkupLinkClickEventHandler h = MarkupLinkClick;
     if (h != null)
         h(sender, e);
 }
예제 #7
0
 private void MarkupLinkClick(object sender, MarkupLinkClickEventArgs e)
 {
     TaskDialog.InvokeMarkupLinkClick(sender, e);
 }
예제 #8
0
 /// <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));
 }
예제 #9
0
		private void OnUrlLabelClick(object sender, MarkupLinkClickEventArgs e)
		{
			Process.Start(e.HRef);
		}
예제 #10
0
 private void LabelMarkupLinkClick(object sender, MarkupLinkClickEventArgs e)
 {
     OnMarkupLinkClick(e);
 }