Click here to Skip to main content
15,884,177 members

We can't be exact, because there are too many ways you could arrange it. But... In essence it's pretty simple.
Assuming that the main opened the register, then it knows what instance is involved. The resister shouldn't even know that the main exists!

So... Have a look at these:

Transferring information between two forms, Part 1: Parent to Child[^]
Transferring information between two forms, Part 2: Child to Parent[^]
Transferring information between two forms, Part 3: Child to Child[^]

Hopefully, it they will cover your situation in some combination.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 4-Nov-14 19:14pm    
There is no such thing as "child" a "parent" window. For using members of one instance in another instance, of the same or different window class, the relationships between windows are not important.
—SA
Please see my past answer: Repeat wpf Datagrid data in another window text boxes[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900