J
Jack
Hello,
I have a 3-level class hirarchy:
1=Grandparent
2=Parent
3=Child
The Grandparent has a method called OnPaint which I want to override
from the Child class. I can do this, but how can I call the
Grandfather's OnPaint() method inside this newly overrided one in the
child class. I can't use:
MyBase.OnPaint(..) because it expects the OnPaint(...) to be in the
Parent class immediately above.
How can call a method from a class 2 levels further up from this child
class? I'm playing with creating custom winform controls.
Thanks,
Jack.
I have a 3-level class hirarchy:
1=Grandparent
2=Parent
3=Child
The Grandparent has a method called OnPaint which I want to override
from the Child class. I can do this, but how can I call the
Grandfather's OnPaint() method inside this newly overrided one in the
child class. I can't use:
MyBase.OnPaint(..) because it expects the OnPaint(...) to be in the
Parent class immediately above.
How can call a method from a class 2 levels further up from this child
class? I'm playing with creating custom winform controls.
Thanks,
Jack.