Пример #1
0
            public void NavigateComplete2(object pDisp, ref object urlObject)
            {
                Debug.Assert(urlObject is null || urlObject is string, "invalid url type");
                string urlString = urlObject is null ? string.Empty : (string)urlObject;
                WebBrowserNavigatedEventArgs e = new WebBrowserNavigatedEventArgs(
                    new Uri(urlString));

                _parent.OnNavigated(e);
            }