public void NavigateToUrl(string url) { this.webBrowser1.Navigate(url); } public void ShowHtmlStr(string htmlStr) { this.webBrowser1.DocumentText = htmlStr; }