ZooTV
06-29-2004, 02:54 PM
I'm loading a map in a PictureBox, and I have an array of coordinates that I have to paint on the map.
I've been using the FillEllipse method to draw a little circle on top of the PictureBox, i.e. PB.CreateGraphics.DrawEllipse(Brushes.Black, x1, y1, x2, y2).
The problem I have is that I can't find a Refresh event so that when i put something in front of the dots and put it away, they paint themselves again. I've read that there's no AutoRedraw in the .NET PictureBoxes, so I wondered what any other way around there is.
Thanks,
I've been using the FillEllipse method to draw a little circle on top of the PictureBox, i.e. PB.CreateGraphics.DrawEllipse(Brushes.Black, x1, y1, x2, y2).
The problem I have is that I can't find a Refresh event so that when i put something in front of the dots and put it away, they paint themselves again. I've read that there's no AutoRedraw in the .NET PictureBoxes, so I wondered what any other way around there is.
Thanks,