Load image thumbnails in list box

Posted by Jpchoudhari under WPF on 8/4/2011 | Points: 10 | Views : 2904 | Status : [Member] | Replies : 2
Hi,

I am creating a form where I am giving a list box that is populated with images. There are many images as much as 20-200 and of high quality (resolution would be around 4000*5000). To optimize loading i am creating thumbnail of the images. But still it hangs the UI till all images completes loading. Therefore, I want to load this images Asynchronously so that user can do its further work, like selecting the file in list.

how can one interact UI thread in background worker??? how to do this??

Kind Regards,
Jay



Responses

Posted by: Peermohamedmydeen on: 9/13/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi,

On RunWorkerCompleted event... you can interact with UI threat...

please put some code snippet what your are really doing.. then we can give solution...

Jpchoudhari, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jpchoudhari on: 9/13/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,

Thanx for your reply. I have done this.



Kind Regards,
Jay

Jpchoudhari, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response