Common Events

Tech-Archive recommends: Fix windows errors by optimizing your registry





I can see that vb.net has the ability to have multiple controls
(consumers?) share in a single event, much like I do now in Delphi.

Looks like the use of delegates? in vb.net is involved.

How would I go about forcing multiple buttons to react to the same
button click? In Delphi, you just create a procedure with a matching
signature and assign it to the xxx.OnClick event, etc of object you
subscribe to the event. You can also do it in the object inspector.

Can someone provide a sample or link for accomplishing this via vb.net?

Thank you,

--
Warm Regards,

Lee
.


Quantcast