HtmlDocument doc = webBrowser3.Document;
HtmlElementCollection ele = doc.All;
doc.InvokeScript("subadd()");
foreach (HtmlElement aa in ele)
{
if (aa.Id == "uploadImg")
{
aa.InvokeMember("click");
//aa.InvokeMember
}
}
HtmlElement form = doc.Forms[0];
HtmlElementCollection ele = doc.All;
doc.InvokeScript("subadd()");
foreach (HtmlElement aa in ele)
{
if (aa.Id == "uploadImg")
{
aa.InvokeMember("click");
//aa.InvokeMember
}
}