Handling events from an array of objects

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to declare an array which contains multiple instances of an object
which raises an event. I then want to define a single event handler which
handles the events which each instance in the array raises. Can somebody
point me to some code which does something like that?

Thanks...

Dan
 
See the AddHandler / RemoveHandler statements in the help.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 
Thanks very much!

Carlos J. Quintero said:
See the AddHandler / RemoveHandler statements in the help.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 
Back
Top