示例#1
0
文件: Frame.cs 项目: teknologika/ITiN
        internal static int GetFrameCountFromHTMLDocument(HTMLDocument htmlDocument)
        {
            FrameCountProcessor processor = new FrameCountProcessor(htmlDocument);

            NativeMethods.EnumIWebBrowser2Interfaces(processor);

            return(processor.FramesCount);
        }
示例#2
0
        internal static int GetFrameCountFromHTMLDocument(HTMLDocument htmlDocument)
        {
            FrameCountProcessor processor = new FrameCountProcessor(htmlDocument);

              NativeMethods.EnumIWebBrowser2Interfaces(processor);

              return processor.FramesCount;
        }