|
-
Mar 31st, 2005, 11:12 AM
#1
Thread Starter
Hyperactive Member
get Parent value from Child
I use the Parent property in the TreeNode often to find the Text of the Parent of a particular TreeNode in a TreeView. Is it possible to mimic this functionality with a custom class.
I have a class called clsSummary and it contains a collection of classes called colDetail whilch is based on a class called clsDetail. Is there a way to access a value in the parent (clsSummary) from the child (clsDetail)? Any suggestions are appreciated.
clsDetail.Quantity = clsDetail.Parent.Quantity
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|