Click here to Skip to main content
11,577,965 members (62,172 online)
Click here to Skip to main content

Tagged as

Wait progress bar for long running UI operations

, 2 Oct 2011 CPOL 5.5K 2
Rate this:
Please Sign up or sign in to vote.
You can use BackgroundWorker to do the work and report the progress using:private void backgroundWorker1_ProgressChanged(object sender, ProgressChangedEventArgs e){ this.progressBar1.Value = e.ProgressPercentage;}
You can use BackgroundWorker to do the work and report the progress using:

private void backgroundWorker1_ProgressChanged(object sender,
    ProgressChangedEventArgs e)
{
    this.progressBar1.Value = e.ProgressPercentage;
}

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Anshul R
Student
India India
No Biography provided

You may also be interested in...

Comments and Discussions

 
GeneralYou are mistaken, I am interested to show dialog and i dont ... Pin
kris44427-Oct-11 0:52
memberkris44427-Oct-11 0:52 
You are mistaken, I am interested to show dialog and i dont know how long the it takes to complete the process...I cannot use this right?

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150603.1 | Last Updated 2 Oct 2011
Article Copyright 2011 by Anshul R
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid