object j;
            for (int i = 0; i < document.parentWindow.frames.length; i++)
            {
                j = i;
                HTMLWindow2Class frame = document.parentWindow.frames.item(ref j) as HTMLWindow2Class;
                MessageBox.Show(frame.name + "_" + j);
            }

 

mshtml.HTMLWindow2Class w2 = (mshtml.HTMLWindow2Class)document.frames.item(ref   oFrameIndex);
            mshtml.HTMLDocument documet2 = (mshtml.HTMLDocument)w2.document;

posted on 2010-08-19 16:28  freedom831215  阅读(397)  评论(0)    收藏  举报