m0gb0y74
m0gb0y74

Reputation: 5

MVP Presenter and Events

I have three views, each of which is is implemented in a user control. This all works fine when they are alone. When an item is selected in view one I need to notify the other two views that the item that they are looking at has changed.

I have looked at various ways of handling this but the one that keeps coming back as the better approach to me is to use events. I was wondering if anyone had any samples of how to do this in terms of an EventAggrergator/ Application Controller pattern?

James :-)

Upvotes: 0

Views: 491

Answers (1)

JohnIdol
JohnIdol

Reputation: 50137

This sounds like a good candidate for applying the observer pattern.

Upvotes: 2

Related Questions