• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

.NET Graphics opbject not redrawing when window comes to foreground.

notfred

Lifer
I have a C#.NET application I'm writing that draws to a Graphics object displayed on screen (in a PictureBox). When I bring the window to the foreground from behind another window, my Graphics object will not redraw (just shows white space anywhere that was obstructed by the overlappnig window). How can I make it redraw the graphics object automatically when the visibility of the window changes?
 
Back
Top