Well, I\'m using a simple webbrowser control to browse to a page, so I need to change the Text of the form while doing so. I\'m using -
private void webBrow
if (browser.ReadyState != WebBrowserReadyState.Complete)
is recommended.
And when there are frames in the page,DocumentCompleted will be fired several times.And this is difficult to solve.Some ways like checking the urls are not accurate.
BTW, why not using this:
this.Text = stringA + " - " + webBrowser1.Document.Domain;
Try to using a fixed prefix,problem may be solved easily.