I wrote a program, that shows my images and their data (date, camera model, ISO, ...). If there is a GPS tag it also show's the map, where the picture was taken.
The picture show's up after all data has been loaded, including the map.
But I want to get the picture as soon as possible and the data can show's up later.
I tried to solve the problem with backgroundWorker, but it doesn' work.
Here is the code for loading the picture:
pictureBox1.ImageLocation = photosPath + "\\" + listView1.Items[CurPic-1].Text;
lblName.Text = listView1.Items[CurPic - 1].Text;
lblGPS.Text = "/";
The background worker calls two methods:
private void loadData_DoWork(object sender, DoWorkEventArgs e)
This code works, just the same as without background worker. Is there any other way to solve this. Please help.