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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:27:39+00:00 2026-05-14T14:27:39+00:00

now program show Messagebox and wait user decision. How make, that program don’t wait?

  • 0

now program show Messagebox and wait user decision.
How make, that program don’t wait?
Show Messagebox, ant keep going.
(I do not need a user action. I just need to show text)

Or maybe a better option than to report the information to a new window?

I hope to understand my problem.

  • 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-14T14:27:39+00:00Added an answer on May 14, 2026 at 2:27 pm

    quick and easy way: use a BackgroundWorker to host your long running job and use the worker’s events to pop up messages in the UI thread.

    edit: might want to display the messages in the form of a message log.

    public partial class MainWindow : Form
    {
        #region Constructor
        public MainWindow()
        {
            InitializeComponent();
        }
        #endregion
    
        #region Events
        private void button_Click(object sender, EventArgs e)
        {
            listBox.Items.Add("Job started!");
            backgroundWorker.RunWorkerAsync();
        }
        private void backgroundWorker_DoWork(object sender, DoWorkEventArgs e)
        {
            for (int i = 0; i < 10; i++)
            {
                // send data from the background thread
                backgroundWorker.ReportProgress(0, i);
            }
        }
        private void backgroundWorker_ProgressChanged(object sender, ProgressChangedEventArgs e)
        {
            // communicate with UI thread
            listBox.Items.Add(string.Format("Received message: {0}", e.UserState));
        }
        private void backgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            listBox.Items.Add("Job done!");
        }
        #endregion
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 496k
  • Answers 496k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Was your CVS application updated that Hudson is using? Was… May 16, 2026 at 11:34 am
  • Editorial Team
    Editorial Team added an answer You might want to try JAMA, which is a linear… May 16, 2026 at 11:34 am
  • Editorial Team
    Editorial Team added an answer You've created a function which accepts an argument called foo.… May 16, 2026 at 11:34 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm writing a program that can be used by multiple users and concurrency is
I've built a program in C# Windows Forms, now on the first load up
I'm working on a VB.NET program that will automatically backup my work to my
Okay, I have this program and I don't want more than one instance of
I'm writting a WPF program.And now i have some problems. There is a Window
I have seen other user posts which show Stopwatch measuring time spent in Thread.Sleep(5000)
We're programming in Delphi 2006, using Multilizer 5.1 to translate the program. Now we've
Now in my country the local time is: 3:43 PM Can I write program
I am making a program for handheld PDAs using .net 2.0 compact framework and
I try for some time to get things done using MEF but now, I

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.