示例#1
0
        public FrameCollection(DomContainer ie, IHTMLDocument2 htmlDocument)
        {
            AllFramesProcessor processor = new AllFramesProcessor(ie, (HTMLDocument)htmlDocument);

            NativeMethods.EnumIWebBrowser2Interfaces(processor);

            elements = processor.elements;
        }
        public FrameCollection(DomContainer ie, IHTMLDocument2 htmlDocument)
        {
            AllFramesProcessor processor = new AllFramesProcessor(ie, (HTMLDocument)htmlDocument);

              NativeMethods.EnumIWebBrowser2Interfaces(processor);

              elements = processor.elements;
        }