Custom User Control Repaint Problem in Designer View
Posted on 2007-03-30
I'm making a custom user control where I override the paint function and do my own drawing... When I change properties of the control (Color, etc...), it doesn't repaint. I have to actually close the designer form and reopen it to see the changes...
I tried this...
private Color m_BackgroundColor = Color.White;
public Color BackgroundColor
m_BackgroundColor = value;
But this doesn't appear to be working to redraw in designer mode.