BEurtle.IssueDetail.CommentBody_Navigating C# (CSharp) Method

CommentBody_Navigating() private method

private CommentBody_Navigating ( object sender, System.Windows.Forms.WebBrowserNavigatingEventArgs e ) : void
sender object
e System.Windows.Forms.WebBrowserNavigatingEventArgs
return void
        private void CommentBody_Navigating(object sender, WebBrowserNavigatingEventArgs e)
        {
            if (!e.Url.ToString().Equals("about:blank"))
            {
                System.Diagnostics.Process.Start(e.Url.ToString());
                e.Cancel = true;
            }

            if ((CommentBody.Tag != null) && (CommentBody.Tag.Equals(true)))
            {
                e.Cancel = true;
            }
        }