private void _links_MarkupLinkClick(object sender, DevComponents.DotNetBar.MarkupLinkClickEventArgs e) { ProcessStartInfo sInfo = new ProcessStartInfo(e.HRef); #pragma warning disable SCS0001 // Command injection possible in {1} argument passed to '{0}' Process.Start(sInfo); #pragma warning restore SCS0001 // Command injection possible in {1} argument passed to '{0}' }
private void _moreInformation_MarkupLinkClick(object sender, DevComponents.DotNetBar.MarkupLinkClickEventArgs e) { ProcessStartInfo sInfo = new ProcessStartInfo("https://github.com/simonec73/threatsmanager"); #pragma warning disable SCS0001 // Command injection possible in {1} argument passed to '{0}' Process.Start(sInfo); #pragma warning restore SCS0001 // Command injection possible in {1} argument passed to '{0}' }
private void labelX1_MarkupLinkClick(object sender, DevComponents.DotNetBar.MarkupLinkClickEventArgs e) { System.Diagnostics.Process.Start("http://www.devcomponents.com/kb/questions.php?questionid=5"); }
private void panelEx10_MarkupLinkClick(object sender, DevComponents.DotNetBar.MarkupLinkClickEventArgs e) { DevComponents.DotNetBar.MessageBoxEx.Show("You can use the hyperlink support to add actionable content to your text.", "PanelEx Demo"); }
private void superTooltipWithLink_MarkupLinkClick(object sender, DevComponents.DotNetBar.MarkupLinkClickEventArgs e) { MessageBox.Show("Markup Link Clicked. href = " + e.HRef); }