|
Hello,
I have a general question:
I'm building a WPF application.
I have a main window, in the window i have some constant header and footer and between them there is an area with changing content(work area).
During application lifetime different controls created inside the work area and the controls creates small windows.
I ran into a problem when i wanted to send an event from one of the windows to some control,the problem was that the window didn't have a reference to the control.
So i started to think maybe i did some bad design work and there is some way to create and manage my multiply controls and windows so the interaction between them will be easier.
Any one can help me with this one?
Thanks
|
|
|
|
|
What you basically need is a Mediator[^] that can act as a go between. Reading Sacha's article in the link I provided will be a good start.
Good Luck!
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|