[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

list of open forms in menubar (c#)

Posted on 2009-02-16
3
Medium Priority
?
905 Views
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..

Thx!

windowlist.jpg
0
Comment
Question by:Pit76
  • 2
3 Comments
 
LVL 19

Assisted Solution

by:daveamour
daveamour earned 400 total points
ID: 23649129
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.
0
 

Accepted Solution

by:
Pit76 earned 0 total points
ID: 23650319
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.

Greetings.
0
 
LVL 19

Expert Comment

by:daveamour
ID: 23650349
Nice one
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses
Course of the Month18 days, 23 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question