G
Guest
Hi!
I want to make a base class with some base properties and then derive
different other classes from that in which I want to override the base
properties to get specialized behaviour unique for each derived class as
follows:
MyBaseClass {PropertyA…}
MyDerivedClassA: MyBaseClass {PropertyA //with unique, extended
functionality, different from that of other classes)
MyDerivedClassB: MyBaseClass {PropertyA //with unique, extended
functionality, different from that of other classes)
MyDerivedClassC: MyBaseClass {PropertyA //with unique, extended
functionality, different from that of other classes)
Suppose that PropertyA is a form, on which I want to put different kinds or
numbers of controls in each class.
Is this possible to do? Which techniques are to be used?
Regards,
M Shafaat
I want to make a base class with some base properties and then derive
different other classes from that in which I want to override the base
properties to get specialized behaviour unique for each derived class as
follows:
MyBaseClass {PropertyA…}
MyDerivedClassA: MyBaseClass {PropertyA //with unique, extended
functionality, different from that of other classes)
MyDerivedClassB: MyBaseClass {PropertyA //with unique, extended
functionality, different from that of other classes)
MyDerivedClassC: MyBaseClass {PropertyA //with unique, extended
functionality, different from that of other classes)
Suppose that PropertyA is a form, on which I want to put different kinds or
numbers of controls in each class.
Is this possible to do? Which techniques are to be used?
Regards,
M Shafaat