G
Guest
Hi,
I'm still somewhat new to OO. I am creating a class for a TextBox because I
need some specific things for it to do. That is, I'm inheriting a TextBox
and putting in some properties, etc. that I need for it. Now I find I need
to do something similar with a DateTimePicker. Many of the things I have to
add are the same. It seems to me that there's probably an OO way to handle
this so that I don't have to re-type all of the stuff I need in both new
classes. Unfortunately I have no clue how to do this. Can anyone help or
recommend something on-line to read?
Art
I'm still somewhat new to OO. I am creating a class for a TextBox because I
need some specific things for it to do. That is, I'm inheriting a TextBox
and putting in some properties, etc. that I need for it. Now I find I need
to do something similar with a DateTimePicker. Many of the things I have to
add are the same. It seems to me that there's probably an OO way to handle
this so that I don't have to re-type all of the stuff I need in both new
classes. Unfortunately I have no clue how to do this. Can anyone help or
recommend something on-line to read?
Art