日期:2014-05-18 浏览次数:20951 次
HtmlDocument htmlDoc = this.webBrowser1.Document; HtmlElement btn = null; foreach (HtmlElement hx in htmlDoc.All) { if(hx.Id == "btnSubmit") { btn =hx; } } btn.InvokeMember("Click");//模拟单击