c# Programming Glossary: strongtypedeventhandler
Event Signature in .NET — Using a Strong Typed 'Sender'? http://stackoverflow.com/questions/1046016/event-signature-in-net-using-a-strong-typed-sender strong typed 'sender' parameter as follows First define a StrongTypedEventHandler SerializableAttribute public delegate void StrongTypedEventHandler.. SerializableAttribute public delegate void StrongTypedEventHandler TSender TEventArgs TSender sender TEventArgs e where TEventArgs.. from an Action TSender TEventArgs but by making use of the StrongTypedEventHandler we enforce that the TEventArgs derives from System.EventArgs..
|