M
Mike
Hi,
I have 4 user controls that are used in a wizard form. Since I also wanted
to re-use those controls when editing the same information that are created
with the wizard. I used a class (Facade pattern) to ease the interaction
with 4 user controls. The problem is that each of the user controls also
contain information that are used in a business object, which I cannot
access directly.
I was thinking about the Mediator pattern to get all the various properties
contained in the various user controls in a "central" place and then set up
getters to retrieve this information in the Facade class. I want to avoid
building a too complex system. What are your thoughts?
Thanks.
Mike
I have 4 user controls that are used in a wizard form. Since I also wanted
to re-use those controls when editing the same information that are created
with the wizard. I used a class (Facade pattern) to ease the interaction
with 4 user controls. The problem is that each of the user controls also
contain information that are used in a business object, which I cannot
access directly.
I was thinking about the Mediator pattern to get all the various properties
contained in the various user controls in a "central" place and then set up
getters to retrieve this information in the Facade class. I want to avoid
building a too complex system. What are your thoughts?
Thanks.
Mike