Event source identification


In VB6, I used the index of a control array to identify which control fired the event. I'm trying to figure out a similar way to do it in VB.NET when procedure handles many events.

Does anyone know how to identify the source of an event? Either the name or handle is fine. I've searched for hours and never managed to get it from the Sender or EventArgs arguments.

All that seems to be available is the type.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!