G
Guest
Hi,
I've written a simple Application for the PPC 2003 in VS2005 Beta 2 and I
want to use the new WebBrowser-Component.
My problem is, that this CanGoBackChanged-Event won't run, when ever I open
a new Page with Navigate-Method.
there's the sourcecode:
#####################
private void button1_Click(object sender, EventArgs e)
{
webBrowser1.Navigate(new
Uri("file://\\Program%20Files\\DeviceApplication6\\t1.htm"));
}
private void button2_Click(object sender, EventArgs e)
{
webBrowser1.Navigate(new
Uri("file://\\Program%20Files\\DeviceApplication6\\t2.htm"));
}
private void button3_Click(object sender, EventArgs e)
{
webBrowser1.GoBack();
}
void webBrowser1_CanGoBackChanged(object sender, System.EventArgs e)
{
button3.Enabled = webBrowser1.CanGoBack;
}
#####################
I hope you can help me.
Greetings,
Jonathan
I've written a simple Application for the PPC 2003 in VS2005 Beta 2 and I
want to use the new WebBrowser-Component.
My problem is, that this CanGoBackChanged-Event won't run, when ever I open
a new Page with Navigate-Method.
there's the sourcecode:
#####################
private void button1_Click(object sender, EventArgs e)
{
webBrowser1.Navigate(new
Uri("file://\\Program%20Files\\DeviceApplication6\\t1.htm"));
}
private void button2_Click(object sender, EventArgs e)
{
webBrowser1.Navigate(new
Uri("file://\\Program%20Files\\DeviceApplication6\\t2.htm"));
}
private void button3_Click(object sender, EventArgs e)
{
webBrowser1.GoBack();
}
void webBrowser1_CanGoBackChanged(object sender, System.EventArgs e)
{
button3.Enabled = webBrowser1.CanGoBack;
}
#####################
I hope you can help me.
Greetings,
Jonathan