handling events of objects stored in array
I have an array of objects. These objects have events that needed to be handled in the Form class. But, I am facing difficulty in declaring WithEvents for these objects, as these are not at the class level.
Eg:
I need to do something like
I declare array of that class at class level
When the button is pressed, then instantiate the objects in the array "WithEvents".
I need to handle events in the form raised by each object within the array
How to achieve this. Please explain. Thanks in advance.
Regards,
Noorul

