Пример #1
0
        private void NavigatingEventHandler(object sender, System.Windows.Forms.WebBrowserNavigatingEventArgs e)
        {
            if (e.Url.OriginalString.StartsWith("action:"))
            {
                e.Cancel = true;                    // cancel the webbrowser navigation

                _component.InvokeAction(e.Url.LocalPath);
            }
        }