C
Csharp Dummy
Hi,
I have a list of objects each with their own timer object and would
like them to use the same event handler function:
protected virtual void Generator_EventHandler(object Sender,
ElapsedEventArgs E)
{
// do something
}
For some reason I have problems passing the eventhandler to the
objects using the constructor.
Does anyone know how that works?
I have a list of objects each with their own timer object and would
like them to use the same event handler function:
protected virtual void Generator_EventHandler(object Sender,
ElapsedEventArgs E)
{
// do something
}
For some reason I have problems passing the eventhandler to the
objects using the constructor.
Does anyone know how that works?