I am quite stuck here because of a design issue. It would be a piece of cake for somebody working withDesigner classes
The problem is:
1 - I havea Control Class named<Contract>
2 - <Contract> class has a 2 properties'Assignments' and 'ContractName'
3 - Property 'Assignments' isof type <AssignmentCollection> and is a collection of items type <Assignment>
4 - Assignment has a property 'Name' of type <String>.
5 - So the class diagram is like:
Contract (control class)
|________ ContractName (string)
|_________Assignments (collection)
|________*Assignment (collection item)
|_______Name (string)
Now For some reasonI want to implemet a TypeConverter for property 'Name' of Collection Item'Assignment'where I need to get the ContractName value of the Parent Control Class <Contract>.
What would be the best way to do it?
I do have <Contract> set as parent to AssignmentCollection but after that I am lost.
Any helpwill begreatly appreciated.
Thanx in Advance.