M
Myron Marston
I've noticed that a number of control events do not fire, even though
they are defined--such as Button.Paint and Label.Click. I've got a
couple of questions about this:
1. How does the control inheritance hierarchy work in the Compact
Framework? Control (from which Button and Label are derived, according
to the documentation) fires these events, so if Button and Label are
derived from Control, the events should be firing, and the On[Event
Name] methods should be called in derived classes as well. But this
doesn't seem to be the case.
2. Is there a list somewhere of defined events that are not raised?
Feel free to point me to an article or another posting answering these
questions--I searched on here for a while and couldn't find the answers
to these questions.
Thanks,
Myron
they are defined--such as Button.Paint and Label.Click. I've got a
couple of questions about this:
1. How does the control inheritance hierarchy work in the Compact
Framework? Control (from which Button and Label are derived, according
to the documentation) fires these events, so if Button and Label are
derived from Control, the events should be firing, and the On[Event
Name] methods should be called in derived classes as well. But this
doesn't seem to be the case.
2. Is there a list somewhere of defined events that are not raised?
Feel free to point me to an article or another posting answering these
questions--I searched on here for a while and couldn't find the answers
to these questions.
Thanks,
Myron