Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3401702
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:02:52+00:00 2026-05-18T05:02:52+00:00

Say you have multiple MVP triads in your application (WinForms .NET 2.0 app) and

  • 0

Say you have multiple MVP triads in your application (WinForms .NET 2.0 app) and each triad looks after one area of responsibility. What is your preferred way of coordinating the communication between the MVP triads?

Option 1
A coordinator object that “has” each model and looks after the coordination through subscribing to the necessary events in each and then deciding what model methods to call in what scenarios.

Worry that this may be a “god” class.

Option 2
A Presenter “has” another presenter and when something of interest happens in the model, the presenter uses the other presenter to move communication along.

Worry that the presenters should not have a public interface (Presenter-first approach) and this breaks that.

I am just wondering what other people have done to solve this problem in a scalable OO fashion. What if I add another MVP triad? How hard will it be to fit that into my coordinator? There must be some good examples of how to manage multiple MVP triads in a WinForms app?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T05:02:53+00:00Added an answer on May 18, 2026 at 5:02 am

    Not to be vague… but it depends. The two approaches I’ve used in the past:

    1. Use an Event Aggregator pattern, and have the individual presenters fire off events that other presenters can handle. e.g. PresenterA does: events.Raise<MyEvent> () and PresenterB implements: IHandler<MyEvent> and reacts accordingly in its public void Handle (MyEvent @event) method.
    2. Use a shared model that is injected into the presenters that need to be coordinated. For example, if one presenter handles selection of a given Foo, and the other presenter needs to update a details panel with Foo details, I might use an IFooSelection state model and inject that into both presenters that need to coordinate the concept of ‘current selection’.

    The interface:

    public interface IFooSelection {
        public event EventHandler Changed;
        Foo Selected { get; set; }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have multiple EditTexts in an application. When I click a Button, I
Lets say I have multiple DataGrids throughout my winform app and I want to
Let's say we have multiple libraries (DLLs) whose features one wants to use in
So imagine you have multiple tables in your database each with it's own structure
Say I have a Python function that returns multiple values in a tuple: def
Say I have the following file structure: app/ app.py controllers/ __init__.py project.py plugin.py If
Say you have an application divided into 3-tiers: GUI, business logic, and data access.
Say I have a class named Frog, it looks like: public class Frog {
Say I have multiple blocks of the following code in a file (spaces is
Let us say I have multiple users. They all have items linked to their

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.