Extend Object Model/Add functions to Objects

swu

Active member
Joined
Mar 26, 2005
Messages
33
Programming Experience
1-3
Hope everyone had a great thanksgiving holiday!

My question is basically how to ask my question. Being a newbe to .net I don't think I'm getting the terminology right.

Basically I have an object model I'm working with that contains roadway alignments and profiles. I can access certain properties of the profile, but certain useful properties weren't exposed or were not available by the $oftware company.

I have written code to calculate various properties that would be useful in future programing and I would like to "add them to the object model" or at least make them available in the following way.

project.alignment.profile.pvi.highpoint
project.alignment.profile.pvi.lowpoint
project.alignment.profile.pvi.highpointstation
project.alignment.profile.pvi.lowpointstation

the italics would be the new objects.

etc . . .

Can anyone follow my ramblings? :confused:

Thanks in advance!

swu
 
you can always start your own control project and inherit this control, then add the methods/properties yourself
 
if can't inherit then make your own class and declare an object of the class
in the new class and use its properties in the new class.
 
Back
Top