Don't ask me why, but according to an MSDN example you should check whether the NewOutputEvent is null.
Quote Originally Posted by MSDN
protected virtual void OnAlarm(AlarmEventArgs e)
{
if (Alarm != null)
{
//Invokes the delegates.
Alarm(this, e);
}
}
}
http://msdn.microsoft.com/en-us/libr...8VS.71%29.aspx