dynamic_sysop
Senior Contributor
hi i've decided it's time to dabble in C# :-\ i'm just working on adding some events to a form with a textbox and a webbrowser.
so far i managed to figure out how to add this event...
but i'm trying to add an event for Document complete on the browser and it wont allow it.
any advice on this would be appreciated ty.
so far i managed to figure out how to add this event...
Visual Basic:
this.textBox1.Click += new System.EventHandler(this.textBox1_Click);
// at the design area
private void textBox1_Click(object sender, System.EventArgs e)
{
MessageBox.Show(Application.ProductName,"test");
}
Visual Basic:
this.wb.DocumentComplete += new System.EventHandler(this.wb_DocumentComplete);
/// gets highlighted as not correct ^^^
private void wb_DocumentComplete(object sender,System.EventArgs e)
{
//
}