解决方案 »

  1.   

            //可以获取到POSTDATA 但是仅仅能够在当前页面导航的时候
            private void WebBrowser_BeforeNavigate2(object pDisp, ref object URL, ref object Flags,
    ref object TargetFrameName, ref object PostData, ref object Headers, ref bool Cancel)
            {
                string postDataText = System.Text.Encoding.ASCII.GetString(PostData as byte[]);
                int z = 0;
            }        private void wb_NewWindow2(ref object ppDisp, ref bool Cancel)
            {
                int z = 0;
            }
            private void wb_NewWindow3(ref object ppDisp, ref bool Cancel, uint dwFlags, string bstrUrlContext, string bstrUrl)
            {
                int z = 0;
            }
      

  2.   

    找个多页面浏览器代码吧,我以前找到过一个,有post的窗口它也是在tab里打开的
      

  3.   

    我找了好多个。确实都是在新窗口打开的,但是都丢失了PostData数据。