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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T12:29:35+00:00 2026-05-12T12:29:35+00:00

I have some forms that takes a bit of time to open because they

  • 0

I have some forms that takes a bit of time to open because they currently get some stuff from a database in their Load event handler.

Is it possible to somehow load the forms in a separate thread and show them to the user when that is done?

If loading them so that the Load event handler is fired is not possible, maybe having a IPreloadable interface might do the trick with a Preload method, and then move the slow loading contents into that. If it is possible to show the form from a separate thread that is… guess I would need to use Invoke or something similar?

  • 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-12T12:29:35+00:00Added an answer on May 12, 2026 at 12:29 pm

    If you load different forms on different threads, you’ll have to be very careful when you make calls between the forms – you’ll need to use Control.Invoke/BeginInvoke all over the place.

    Note that while each top level window can run on a different thread, all the controls within a window must be created (or rather, they must have their handle created) on the thread for that window.

    Why not load the database information in the background, and then when that’s finished then you can build the actual form and display it? (Until then you might either want to change to a wait cursor, or possibly put a “Loading data…” status message somewhere.

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

Sidebar

Related Questions

I have an app that can open up some other forms at the user's
So long story short, i have some forms (2) of them that, need different
I have a MDI container form, and some child forms that update their title
I have this website http://wedessertmore.com that has some forms popup when you click on
I have a Windows Forms application that uses some Application.Idle handlers to change the
The Application class in System.Windows.Forms have a some properties that can be quite useful.
After some reading and R&D, I have came to conclusion that ? Forms in
Currently I have a main form, from which I call a popup that I've
I have some script that takes a form and sends it to php using
I have a form that is trying to insert some data into an SQL

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.