Seal.Forms.ReportViewerForm.webBrowser_Navigating C# (CSharp) Method

webBrowser_Navigating() private method

private webBrowser_Navigating ( object sender, WebBrowserNavigatingEventArgs e ) : void
sender object
e WebBrowserNavigatingEventArgs
return void
        private void webBrowser_Navigating(object sender, WebBrowserNavigatingEventArgs e)
        {
            if (HeaderForm != null)
            {
                //Get action from the form
                string action = HeaderForm.GetAttribute(ReportExecution.ActionCommand);
                if (e.Url.AbsolutePath.EndsWith(action)) e.Cancel = processAction(action);
            }
        }