How to open a new window in windows form application?

Let’s learn how to open a new window in windows form application. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

.net C# windows Form Application : open popup window

I am using Windows Form application. I want to open a small textbox on a window to enter user's name or Email in Starting for the program. How can I achieve this?

Answer:

Write one, 'tis almost trivial (creating the form and adding label, textbox and buttons) and using the...

Read more

Sujoy at Stack Overflow Mark as irrelevant Undo

Other solutions

Where to learn how to write code for C++ Windows Form Application buttons?

hi, am a novice at C++, and in the class that i am taking we were assigned (for extra credit) to write programs in both console and windows from application. i understand the console part relatively well, and i know how to "design" the windows...

Answer:

This should help you get started: http://msdn.microsoft.com/en-us/library/… Handling Events:...

Read more

battousai at Yahoo! Answers Mark as irrelevant Undo

C# Windows Form Application Errors In Program.cs:?

I'm trying to make a windows form application and before I even start I get these 3 errors in Program.cs: Application.EnableVisualStyles(); Application.SetCompatibleTextRendering… Application.Run(new Form1()); 1st line error: "EnableVisualStyles...

Answer:

is there a using System.Windows.Forms line at the top of your Program.cs? Did you include the System...

Read more

Donavon at Yahoo! Answers Mark as irrelevant Undo

What determines where an application window opens in Windows 7?

What determines where an application window opens in Windows 7? I'm running dual monitors in Windows 7. I have to do some repetitive tasks that require opening Word docs, saving to PDF, then combining other PDFs into that PDF. I always have to move the...

Answer:

The app gets to decide, or it gets to tell Windows to use the Default. It's not uncommon that apps remember...

Read more

schoolgirl report at Ask.Metafilter.Com Mark as irrelevant Undo

Closing login form closing whole application? Using c# windows form.?

private void button1_Click(object sender, EventArgs e) { DataClasses1DataContext ddd = new DataClasses1DataContext(); var d = from c in ddd.users where textBox1.Text == c.email && textBox2.Text == c.password select c; foreach (var item in d)...

Answer:

When the main form closes, the application terminates. The main form is launched from Main in Program...

Read more

Yawar at Yahoo! Answers Mark as irrelevant Undo

Vb .net windows form: making window inactive?

i have a window and a dialog box from that window. how do i make the original window inactive once the dialog box has been opened and active again once the dialog box closes?!

Answer:

If you call another dialog from a Form (frmMain) I usually do the following: Me.Enabled = False frmMain...

Read more

entoy at Yahoo! Answers Mark as irrelevant Undo

What OS X window manager can make a mosaic of all the windows of an application?

When I have several windows of a same app (ex. Terminal), I would like to make a mosaic of those windows that would also resize and move the windows so that they use the maximum amount of screen without overlapping. I own Moom, Optimal Layout and Keyboard...

Answer:

You could use SizeUp. Its a free software which you can download from:  The Missing Window Manager Try...

Read more

Anonymous at Quora Mark as irrelevant Undo

Answer:

Stack Overflow would be  a better source to get all technical queries answered. Do post it there too...

Read more

Ulaganath Muthu at Quora Mark as irrelevant Undo

Why is there no "application window" concept in Windows Metro apps?

More precisely, why are there just full-screen apps? This isn't fully true, actually you can run two apps in split-screen mode. But anyway, the question is: why there are no "windows" as they are defined in Windows Desktop apps? I understand...

Answer:

They went for a make-over. They designed the windows keeping the tablet version in mind. And these apps...

Read more

Deepanker Saxena at Quora Mark as irrelevant Undo

Visual C++ how to get mouse position (Windows Form Application)?

I'm using windows form application not win32... i need a code to get mouse location (x and y) in label1 and label2... Thank you -Jalal

Answer:

private: System::Void Form1_MouseMove(System::Object^ sender, System::Windows::Forms::MouseEventArgs...

Read more

Ziba at Yahoo! Answers Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.