Ejemplo n.º 1
0
        internal static IWebBrowser2 GetFrameFromHTMLDocument(int frameIndex, HTMLDocument htmlDocument)
        {
            FrameByIndexProcessor processor = new FrameByIndexProcessor(frameIndex, htmlDocument);

            NativeMethods.EnumIWebBrowser2Interfaces(processor);

            return(processor.IWebBrowser2());
        }
Ejemplo n.º 2
0
        internal static IWebBrowser2 GetFrameFromHTMLDocument(int frameIndex, HTMLDocument htmlDocument)
        {
            FrameByIndexProcessor processor = new FrameByIndexProcessor(frameIndex, htmlDocument);

              NativeMethods.EnumIWebBrowser2Interfaces(processor);

              return processor.IWebBrowser2();
        }