I am using a trackBar1 to move between images I have on the hard disk and I display each image in pictureBox1.
Now I also can draw points red points on each image in the pictureBox1.
What I want to do is that if I drew some points on the current image that is show in the pictureBox1 so what I drew will be saved/keep on the current displayed image in the pictureBox1.
I mean that if I drew something then I move the trackBar1 forward one tick to the next image so the points will not be show on the next image but if I move the trackBar1 backward once I will see on the other image what I drew before. I don’t want to save it to the hard disk as file but to visualy to keep what I’m drawing in the pictureBox1 on the current position where the trackBar1 is now.
And if i move the trackBar1 to another image so the points will be deleted and if i move back ill see the points i drawed on the other image. And so on. Where ever i drawed something to keep it so if i move back ill see what i drawed.
Now in my program i can save each image to the hard disk painted or not painted. So i could also load from the hard disk this images i saved.
But i want to do it in real time without loading the images from hard disk.
Maybe somehow to save it to memory ?
You could draw the points in a transparent image that overlays the images below so that when you scroll the background images, you keep the overlay.