.Net Windows Form... Event Bubbling is what I guess it would be called... Please Read!!!
Posted on 2007-03-28
Hi, I got a windows form that has 14 panels... Each panel has 3 labels on it. What I want to capture is when someone clicks on the label. Right now I have to do a click event for all 14 panels and for all 42 labels.
Is there a way, hopefully easy, that I can tell the panel to handle all the events and for the labels to just buzz off...
I really want to get away from having to have that many click events. If you ever have to cut and paste it somewhere else and you lose all the event handlers, then it really sucks unless you copied your code into notepad first.