Googlenerics

There are 1 entries for the tag Googlenerics

EventHandler sender and arguments best practice

You should make sure the sender and event arguments use a good standard when you raise an event! Use the correct sender and supply good event arguments. I just got stumped the other day about the sender of an event from a third party control. Doesn’t matter what control. What does matter is the fact that I had to dig around unnecessarily long to figure out how the event parameters worked since they did not work as expected. The control I used encapsulated a text label, a textbox and a collection of buttons. The control...