gianolif Posted May 26, 2003 Posted May 26, 2003 I am trying to plot squares on top of an image using the graphics.fillrectangle method. When the screen is minimised or a control becomes visible over the squares, they disappear. How can I make them stay there? Quote
*Gurus* divil Posted May 26, 2003 *Gurus* Posted May 26, 2003 You need to either paint your squares in the Paint event so they'll be painted whenever needed, or paint them on an offscreen bitmap and set the picturebox's Image property to that bitmap. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.