Lost Password?

  #1 (permalink)  
Old 08-03-2007, 10:04 AM
karateboy02 karateboy02 is offline
Newbie
 
Join Date: Jul 2007
Posts: 6
Rep Power: 0
karateboy02 is on a distinguished road
Default Switching Between Windows Forms

In my program I launch a windows form from another windows form. The flow breakdown is as follows.

User starts program (a windows form).
User clicks on button and launches a second windows form.

After the second form is launched I cannot go back to the first form unless I close the second one. Does anyone know how I can keep both forms open and switch between the two of them freely?

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-03-2007, 01:07 PM
Jordan's Avatar   
Jordan Jordan is online now
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Age: 25
Posts: 4,514
Last Blog:
Zend: PHP Security Web...
Rep Power: 50
Jordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud of
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

I'm guessing that you are opening the second form with: formName.ShowDialog()? If so, try using just formName.Show();

Let us know if it works properly.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-03-2007, 05:07 PM
karateboy02 karateboy02 is offline
Newbie
 
Join Date: Jul 2007
Posts: 6
Rep Power: 0
karateboy02 is on a distinguished road
Default

Yep that was it. I had figured that out about 10 minutes before I seen this post. Thanks so much for the help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-03-2007, 07:49 PM
Lop's Avatar   
Lop Lop is offline
Speaks fluent binary
 
Join Date: May 2006
Posts: 1,135
Rep Power: 15
Lop is on a distinguished road
Default

I do that a lot. I'll post a question and immediately find the answer.
__________________
Lop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL commands in Windows Forms karateboy02 Managed C++ 4 08-11-2007 08:08 AM
Windows XP Tricks & Tips!!!!..new ones. pranky Tutorials, Classes and Code 7 02-01-2007 10:58 PM
Visual Studio 2005 and Windows Vista Jordan General Programming 3 01-22-2007 03:21 PM
Windows Forms MDI question. hoser2001 C# Programming 10 08-11-2006 06:36 PM


All times are GMT -5. The time now is 09:49 PM.

Contest Stats

John ........ 87.50000
dargueta ........ 75.00000
Xav ........ 50.00000
MeTh0Dz ........ 20.00000
gaylo565 ........ 18.00000
Johnnyboy ........ 3.00000

Contest Rules

Ads