This is a migrated thread and some comments may be shown as answers.

progress bar linking to form load

2 Answers 98 Views
ProgressBar
This is a migrated thread and some comments may be shown as answers.
yogesh
Top achievements
Rank 1
yogesh asked on 01 Mar 2011, 08:43 AM
Hello...
          I wanna link progress bar value to form load. Because to load the form its taking time so i wanna show the form loading status through progress bar. I tried with some code but the progress bar value is not syncing to form load. Can u help?

2 Answers, 1 is accepted

Sort by
0
Emanuel Varga
Top achievements
Rank 1
answered on 01 Mar 2011, 02:29 PM
Hello Yogesh,

Because the form load is being performed on the main thread the message loop will be locked until the form is loaded, i would suggest you use a SplashScreen to show progress, there is a very good example here.

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga
Telerik WinForms MVP
0
Richard Slade
Top achievements
Rank 2
answered on 01 Mar 2011, 03:05 PM
Hello Yogesh,

I'd also advise having a look at this forum thread which in addition to Emanuel's suggestion, provide suggestions for speeding up first time load of applications.
hope that helps but let me know if you have any questions
Richard
Tags
ProgressBar
Asked by
yogesh
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Richard Slade
Top achievements
Rank 2
Share this question
or