We help IT Professionals succeed at work.

list of open forms in menubar (c#)

Pit76 asked
Medium Priority
Last Modified: 2013-12-17
Hi all,

How can I accomplish to have in my menubar an item that lists all the forms that are open in an application. See image attached.
I thought it was a simple line of code that you had to place in the menubaritem but I can't remember or seem to find it in this demo application..


Watch Question

How about having a public static global list and when each form opens add it to the list and when it closes remove it from the list then use this list to populate your menu.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
I did some more digging and I found this. If I remember correctly this is what I was looking for :)

Setting the MDIList property of a MenuItem                 to True, will give at runtime, a list of all open child                  forms. It will display a tick mark next to the active child window.

Nice one
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.