Solved

new form pop up

Posted on 2009-07-03
3
347 Views
Last Modified: 2012-05-07
I am writting a program that needs a settings menu.  I want this as a pop up menu that the user can edit information, and then bring it back into the application i am writting.

How is this accieved
0
Comment
Question by:cotj73
  • 2
3 Comments
 
LVL 19

Expert Comment

by:daveamour
ID: 24776456
What kind of program is this and do you want your settings persisted anywhere other than memory?
0
 
LVL 1

Author Comment

by:cotj73
ID: 24777074
This is a Data Analysis Program, with the selected settings staying in the memory. All that i really want to know is how to make another window pop up, and how to pass an array out of that window back to the main program i am writiiting
0
 
LVL 19

Accepted Solution

by:
daveamour earned 500 total points
ID: 24779102
I would code settings in a settings class.  I would code this as a singleton in which case it would be accesible from your main form and your popup form.
To make another window pop up you just create a new instance of the form and then call Show or ShowDialog.
Singleton - http://www.yoda.arachsys.com/csharp/singleton.html
 
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

825 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