pisceswzh
Well-known member
- Joined
- Mar 19, 2007
- Messages
- 96
- Programming Experience
- 1-3
In my application, when open certain forms, it takes a little bit long time, say 5-6 seconds to intialize controllers and to load large amount of data from the SQL server, during this period of time, the system just stucked and the UI doesn't respond to anything.
I am justing wonding whether anyone can provide me with methods to display a "Please wait!" form when the data is loading and controller is initializing? and when the loading process is done, the "Please wait!" form just disappear.
I think it might need to create a second thread, but since when the data is finished loading, my application should display them on the UI thread, so it will probably cause corss-thread issue. So I am just puzzled.
Anyone please help! I appreciate any resources that provided. Thanks!
Tom
I am justing wonding whether anyone can provide me with methods to display a "Please wait!" form when the data is loading and controller is initializing? and when the loading process is done, the "Please wait!" form just disappear.
I think it might need to create a second thread, but since when the data is finished loading, my application should display them on the UI thread, so it will probably cause corss-thread issue. So I am just puzzled.
Anyone please help! I appreciate any resources that provided. Thanks!
Tom