private void SendAsyncResponse(params object[] args) { object[] responseArgs = new object[1]; responseArgs[0] = args; browserControl.BeginInvoke(this.asyncResponseDelegate, responseArgs); }
public void Navigate(string uriString) { //webBrowser.DocumentText //webBrowser.Navigate(uriString); try { webBrowser.BeginInvoke(new NavigateStringDelegate(webBrowser.Navigate), new object[] { uriString }); } catch { } }