wbDescription_Navigating
(
object sender,
WebBrowserNavigatingEventArgs e
)
{
// AssertValid();
String sUrl = e.Url.ToString();
// This event is fired with an URL of "about:blank" when this dialog
// sets the WebBrowser's DocumentText property. Ignore the event in
// that case.
if (sUrl.IndexOf("about:blank") == -1)
{
// By default, clicking an URL in the description displayed in the
// WebBrowser control uses Internet Explorer to open the URL. Use
// the user's default browser instead.
e.Cancel = true;
Process.Start(sUrl);
}
}