Display html page in winform(.NET 2.0)

  • Thread starter Thread starter zlf
  • Start date Start date
Z

zlf

Hi,
I have some html codes, and I need to present the rendered html page to user
in winform program. I cannot find a helpful control in .NET framework. How
to do that in .NET 2.0?

Thank you
 
I got it.

The following code works well:
WebBrowser webBrowser1;
// do initialization

this.webBrowser1.Navigate("about:blank");
HtmlDocument doc = this.webBrowser1.Document;
doc.Write("<html>sdfsdf<br>sdfsdf<b>sdfsdf</b></html>");
 
Back
Top