Use WebBrowser control in form.
The following code display only 'about:blank' message, replace with your doc.
For C#
private void DisplayHtml(string html)
{
webBrowser1.Navigate("about:blank");
if (webBrowser1.Document != null)
{
webBrowser1.Document.Write(string.Empty);
}
webBrowser1.DocumentText = html;
}
For VB.NET
Private Sub DisplayHtml(ByVal html As String)
webBrowser1.Navigate("about:blank")
If webBrowser1.Document IsNot Nothing Then
webBrowser1.Document.Write(String.Empty)
End If
webBrowser1.DocumentText = html
End Sub
Note: You should set AllowNavigation property to true before you deal with contents shown to users.