Solved

new form pop up

Posted on 2009-07-03
3
346 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

937 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now