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

  • SEARCH
  • Home
  • 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 511553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:13:42+00:00 2026-05-13T07:13:42+00:00

I have a main form with a left and right pane. The left pane

  • 0

I have a main form with a left and right pane. The left pane displays a list of customers and I have a button the user clicks to show orders. When the user clicks this button I want to show the order details view described below in the right pane.

I have an order details form that will be displayed within the right pane of the main form and will show all the orders for the selected customer.

I have defined view interfaces for both views and there is a presenter for each view.

I want the order details to be able to get a hold of the selected customer so that it can obtain the orders for that customer.

How should I go about it? Event Aggregator? Composite Presenter?

  • 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-13T07:13:42+00:00Added an answer on May 13, 2026 at 7:13 am

    Each pane is not a separate view. By doing that you are tying the specifics of the form to the presenter. The basic idea is that when you’re editing a list of customers the presenter should not care how the form is setup.

    Your two pane view should extract a list of customers from the presenter and use that list to fill out the left pane. Then when an item is clicked it asks the presenter for the list of orders the customers made and other details.

    This approach will solve your problem as now there is a single view. When you click on something on the order and it needs to know the current customer you can refer to the tree view (or combo box, or list view, etc) to see what is the currently selected customer.

    The trick to avoiding issues like this is to ask yourself what happens if I make a new form that uses completely different UI elements. Will the presenter have to be altered to reflect that? If the presenter does then you have tied it too closely to the implementation of the view.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I hope I can explain this clearly enough. I have my main form (A)
Events are synchronous in C#. I have this application where my main form starts
I have a VB6 app. There is a main form. It houses a user
I have a main form and as sub form. I need the main Form
I have the following scenario I have a main form as MDI parent and
I've got a situation where I have a main form that pops up an
I have a .NET 2.0 WinForms application with a ToolStrip on my main form.
I have a scenario. (Windows Forms, C#, .NET) There is a main form which
I have a c# form (let's call it MainForm) with a number of custom
i have a table called category in which i have main category ids and

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.