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 8796125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:33:02+00:00 2026-06-13T23:33:02+00:00

So, management has decided to implement an idea to allow the user to choose

  • 0

So, management has decided to implement an idea to allow the user to choose the language for the program. And the way they want it is, in my opinion, silly. But, I can’t change their mind. Here’s how it works. The main form(frmMain) will start to load. Before the InitializeComponent(), they want another form(frmLanguage) to load asking the user to select a language. Now, I can get frmLanguage to pop up at the proper time. My problem is, how do I prevent or pause frmMain from continuing to load once I’ve got frmLanguage displayed?

public FrmMain()
{
    var language = new FrmLanguage();
    language.Show();

    // I need to pause the FrmMain right here

    InitializeComponent();
}

I was thinking that threading might be the way to do this, but I’ve got zero experience with it, so I’m unsure that’s even a correct line of thinking. I don’t want to do a Sleep() or similar, cause who knows how long the user will take to enter their choice. Also, this will be a one-off popup. I’ll be changing a line in a pre-existing INI file so that this won’t pop up if they’ve already selected a language. Thanks for any and all help.

  • 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-06-13T23:33:03+00:00Added an answer on June 13, 2026 at 11:33 pm

    Use language.ShowDialog();. Per MSDN, the code following it is not executed until after the dialog box is closed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Management has decided to go for Windows 2008 64 bit with IIS7 to service
I am looking to code me a banner management system that has users make
This page has been quite confusing for me. It says: Memory management in newLISP
I am creating a web application which has a few management screens, where a
In SQL Server Management Studio if the user creates new table columns, tables, etc.
I want to create a simple subscription based account management on a PHP and
Memory management has me confused again -- In my .h file, I have: @property
I'm trying to help a client who's hosting company has decided to shutdown their
I'm starting out on a new project and a team member has decided to
I have been doing windows applications using c#. But recently our management has planned

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.