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 6877671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:37:43+00:00 2026-05-27T04:37:43+00:00

I am developing a Windows Form Application as a subscriber for my WCF Publish

  • 0

I am developing a Windows Form Application as a subscriber for my WCF Publish Subscribe Service. The windows form application would have a combo box that acts as a filter for 2 types of fruits, Apple and Orange.

Mainly 3 choices would be given in the combo box.

  • All Fruits
  • Apple
  • Orange

The fruits are all displayed in a Flow Layout panel that contains individual panels for each individual fruits. Hence when clicking all fruits, the flowlayoutpanel will create a flowlayoutpanel that contains every single panels of all fruits. (e.g. 4 fruits = 4 panels)

when the publisher publish a new type of food to the application, my filter for my combo box does not works anymore. (clicking the difference choices in the combo box does not filter the panels anymore) During publishing, i simply repopulate the list of fruits through a populateList() method and by using the following code

flowLayoutForFruit = createFlowLayoutPanel(1);
this.Controls.Add(flowLayoutForAlert);

As for the method ,createFlowLayoutPanel(integer type), it has basically 3 types of it.

  • 1 – Both Types of Fruits
  • 2 – Apple
  • 3 – Orange

Since I am publishing a new post, I would just set the default view as all types of fruits, hence for the creation of type 1. Did the publishing of the new post screw up the event handler of the combo box or something?

  • 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-27T04:37:44+00:00Added an answer on May 27, 2026 at 4:37 am

    All it takes was just adding a line of code to dispose the panels before adding it again.

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

Sidebar

Related Questions

I am currently developing a WCF Publish Subscribe service on a windows form application.
I have been developing a C# windows form application in XP. It all works
I'm developing a Windows Form application that will typically minimize to the system tray.
The application that I am developing is a windows form application written in C#.
I am currently developing a C# Windows Form Application that I intend to let
I am currently developing a C# Windows Form Application that I intend to let
I am developing a windows form application in C#. I have a datagridview on
I am currently developing a WCF publish subscribe service for my asp.net publisher and
I am currently developing a windows form application and I have a arraylist notificationList
I am currently developing a C# Windows Form Application that I intend to let

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.