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?
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,
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