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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:51:45+00:00 2026-05-14T21:51:45+00:00

I’m working on my project: [Beer Pong Management System][1], a Windows Forms application. I

  • 0

I’m working on my project: [Beer Pong Management System][1], a Windows Forms application. I am currently trying to add a whole tournament mode to it. In a nutshell, I’ve created a TabControl, with the first tab page with the settings and setup and the second page the brackets.

There is a feature for each of the match-ups, that once there is a winner is decided, a yellow cancel button will appear in order to revert the tournament. However my issue is when i click the button the next match-up does not get removed in the series is going. See below:

Image Here(not high enough rep to insert image)

I have tried to set the MatchUp to null, I’ve tried dispose(), close(). even Parent.Controls.Remove().
Even after I switch tabs which is supposed to clear all, they still sit there when i come back.

I have a feeling I might be loosing a reference or something because I can’t even push new teams into them, they just sit there with their buttons.

Does anyone have any tips or know of any known issues that might be causing this? Thanks.

[1] _http://www.cs.rit.edu/~rmb1201/pages/code.shtml

  • 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-14T21:51:45+00:00Added an answer on May 14, 2026 at 9:51 pm

    Maybe this snippet can help you identify the problem:

        public string GetControlSummary(Control rootControl, int level)
        {
            string result = "";
            foreach (Control childControl in rootControl.Controls)
            {
                result += new string(' ', level * 4) + childControl.Name + " (" + childControl.GetType().Name + ")\r\n";
                result += GetControlSummary(childControl, level + 1);
            }
            return result;
        }
    

    Just pass the tabPage or Panel you added your controls to; it will give you a list of all controls and sub-controls you have added. If the controls are not in the list, they also shouldn’t be painted.

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

Sidebar

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.