I'm quite new to C#, so here is my probelm...
I have created a custom control that holds PictureBox (thumbnail) and Label control (image name).
In program I walk through directory for images and for each image i put my custom control on panel. By default custom control shows special icon instead of a thumbnail.
When all placeholders are set, I create a thread that process images in background and when thumbnail created, change default icon with thumbnail.
If I change default icon with thumbnail "manually" like this..
MyControl1.pictureBox1.Image = new Bitmap(_image, width, height);
Problem arise when i create controls programaticaly. How do I find out "pointer/reference" to control?
for (int i = 0; i < this.my_panel.Controls.Count; i++)
... image processing...
?????????????.pictureBox1.Image = new Bitmap(_image, width, height);