Neither
A class (ideally) represents a real-world (or programming context world) object that you are trying to model. They will almost always be multi-input/multi-output.
For example, "Dog", "Cat", "Car", "Game", and "Player" are all good class names. None of them would be tied to a specific in...
I got another quick question for ya guys, I have that BinView control, and I want to have a click event on it.
I dont care where the user clicks, as long as its within the bounds of the control itself. I tried setting a click event on the Grid that houses the inner components, but it doesnt get fired (presumably because im not clicking on the grid). If I set it on a label and click the label it works. Is there a sneaky way of setting up a click event on something like ....
say an invisible component whose Z Index is the highest on the control so that no matter where they click in the control, a single event handler is fired, or do I need to hook up all of the controls to the same method on click?
What is the exact difference between Bubbling Events and Tunneling events?
Where should I use Bubbling Events and where should I use Tunneling events?
Thanks in Advance!