C# WebBrowser Button Click, then go to another page
问题 I need to click an html button and navigate to another page. After click I need to wait for page loading, and go to the new page only when the old page loaded. Here is the code, that click a button: element = webBrowser1.Document.GetElementById("LoginButton"); element.InvokeMember("click"); webBrowser has got a IsBusy property, but it don`t works after button click: element = webBrowser1.Document.GetElementById("LoginButton"); element.InvokeMember("click"); if(webBrowser1.IsBusy) { MessageBox