예제 #1
0
        internal static IWebBrowser2 GetFrameFromHTMLDocument(int frameIndex, HTMLDocument htmlDocument)
        {
            FrameByIndexProcessor processor = new FrameByIndexProcessor(frameIndex, htmlDocument);

            NativeMethods.EnumIWebBrowser2Interfaces(processor);

            return(processor.IWebBrowser2());
        }
예제 #2
0
파일: Frame.cs 프로젝트: pusp/o2platform
		internal static IWebBrowser2 GetFrameFromHTMLDocument(int frameIndex, HTMLDocument htmlDocument)
		{
			FrameByIndexProcessor processor = new FrameByIndexProcessor(frameIndex, htmlDocument);

			NativeMethods.EnumIWebBrowser2Interfaces(processor);

			return processor.IWebBrowser2();
		}