HTML按钮元素
<input type="submit" value="确定" class="dialogbtn"
C# 执行代码
HtmlDocument doc = webBrowser1.Document;
HtmlElementCollection coll = doc.GetElementsByTagName("input");
foreach (HtmlElement item in coll)
{
if (item.GetAttribute("value") == "确定")
{
item.InvokeMember("click");
}
}