20-8-2008 20:9:26
private System.Windows.Forms.WebBrowser webBrowser1;
thế là xong hiển thị bình thường. dotnet 2.0 dùng sướng thật.
if (!browserUrl.StartsWith("http://"))
{
browserUrl = "http://" + browserUrl;
}
try
{
webBrowser1.Navigate(new Uri(browserUrl));
}
catch
{
MessageBox.Show("Invalid Url.", this.Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
http://coder.awas.vn/downloads.ashx?id=42132c754fd248dca04ab9e4e0948bab