Hi,
I have a class structure like this:
rootform : System.Windows.Forms.Form
midiform : rootform
child1 : rootform
child11 : child1
child2 : rootform
chld21 : child2
there is an instance of child11 and child21. when user selects a record
in child21 (like a part inventory), it should pass the part# to child11
(call a public method in child11). in child21, how do I have access to
child11? I tried to find it in System.Windows.Forms.Form but it just
give me the active form (Form.ActiveForm).
user in midiform menubar can open child11 and child21 as many as the
want. so there is no garantee that when user select a record in child21,
I have child11 opened. so I should detect it in the collection (if not
found, open it). is there a forms collection that I can trace it and
find a form? how I should deal with this kind of situation?
thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!