Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6939801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:40:09+00:00 2026-05-27T12:40:09+00:00

everyone. How do I call a number of forms one after another (meaning call

  • 0

everyone.
How do I call a number of forms one after another (meaning call new form after previous one is closed).
I wrote something like this;

Form1.Show();
Form2.Show();

and it naturally results in opening both forms simultaneously. How to make function to wait for the fist form to be closed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:40:10+00:00Added an answer on May 27, 2026 at 12:40 pm

    Open one form, handle the FormClosed event, and open the second form from within that. Note that this is only necessary because your forms are not modal. If you were using ShowDialog() the call would not return until the first form was closed and your code would work as it is currently structured.

    If you require non-modal behavior (i.e., your user must be able to interact with the owner form while the owned form is open) then use something like this:

    // very simplistic example...
    Form1 frm = new Form1();
    frm.FormClosed += delegate { new Form2().Show(); }
    frm.Show();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Everyone has this huge massively parallelized supercomputer on their desktop in the form of
everyone! I am new for C++ and now work on a C++ project.The whole
I'm knocking up a simple PHP form to show telephone call usage on our
Hey, everyone. I am needing to record the end of a phone call to
My assignment ask to make a function call readFasta that accepts one argument: the
we are running a click-to-call service, my idea is basically like this: website have
everyone,i have a lot of files write to disk per seconds,i want to disable
Everyone remembers google browser sync right? I thought it was great. Unfortunately Google decided
Everyone I work with is obsessed with the data-centric approach to enterprise development and
Everyone has accidentally forgotten the WHERE clause on a DELETE query and blasted some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.