P
Peter Rilling
I would like people's opinions. Many classes have an Onxxx that actually
invokes the registered event handlers. A derived class can override these
methods rather then registering an event. The consequence of this is that
the overridden class must call the parents' method so that events are
dispatched.
My question is, is it better to call the parents' method at the beginning of
the override, or at the end, as the last statement?
invokes the registered event handlers. A derived class can override these
methods rather then registering an event. The consequence of this is that
the overridden class must call the parents' method so that events are
dispatched.
My question is, is it better to call the parents' method at the beginning of
the override, or at the end, as the last statement?