Solved

new form pop up

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Keyboard 2 45
What Does This C# Code Block Do? 5 71
VB.NET 2008 Winforms Signing 13 41
"Emulate" TAB key when press Enter Key 3 65
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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

679 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