Event problem
public event Handler nameinsert;
public delegate void Handler(object Sender);
public void check()
{
...
nameinsert(this);
}
//authorform_newname is een event that is catched
private void authorform_newname(object Sender, cAuthorArgs e)
{
...
check();
}
I receive a System.NullReferenceException: Object reference not set to an instance of an object
from the nameinsert(this)
Does someone know why???
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

kyle_hankinson45 pointsPosted Dec 13, 2004, 10:02 AM EST
Kris Lemoine43 pointsPosted Dec 13, 2004, 10:34 PM EST