Defining your own eventArg type and defining an appropriate delegate type in C#
Channel:
Subscribers:
5,420
Published on ● Video Link: https://www.youtube.com/watch?v=yq8zjsTnrps
You may want to do this when you need to send the sender and additional data to the object handling the event. The sender is the object that has raised the event, and the data to send to the handler is the EventArgs data. The sample is here:
http://ableopus.weebly.com/samples.html
Other Videos By Brian (Able Opus)
Tags:
csharp
C#
sender
eventargs
args
event
eventhandler
handle
handling
delegate
visual
studios