dynamic_sysop
Well-known member
hi ive decided its time to dabble in C# :-\ im 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 im 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...
Code:
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");
}
Code:
this.wb.DocumentComplete += new System.EventHandler(this.wb_DocumentComplete);
/// gets highlighted as not correct ^^^
private void wb_DocumentComplete(object sender,System.EventArgs e)
{
//
}