main form close

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have an app with 2 forms: form1 (project's starup object) and form2
need to close form1 and then show form2, but application ends when close form1
any idea?
regards
 
The application will end when the main Form is closed. So this is the
behavior that you are seeing. Have you tried displaying Form2 using it's
ShowDialog method?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top