如何在webbrowser上显示控件
展开全部
public Form1()
{
InitializeComponent();
this.webBrowser1.Navigated += (ss, ee) => this.textBox1.Text = ee.Url.AbsoluteUri;
this.textBox1.KeyPress += (ss, ee) =>
{
if (ee.KeyChar == Convert.ToChar(13))
{
this.webBrowser1.Navigate(((Control)ss).Text);
}
};
}
{
InitializeComponent();
this.webBrowser1.Navigated += (ss, ee) => this.textBox1.Text = ee.Url.AbsoluteUri;
this.textBox1.KeyPress += (ss, ee) =>
{
if (ee.KeyChar == Convert.ToChar(13))
{
this.webBrowser1.Navigate(((Control)ss).Text);
}
};
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询