How are the painting of invisible controls handled in WinForms?
问题 I'm trying to override the OnPaint events of the windows form in .NET Compact Framework . So far, I'm able to draw the controls with gradients, rounded rectangles etc that would not normally be possible with regular controls. However, I'm having problems when I want to make a control invisible. Right now, what I do is re-draw all the controls except those invisible ones. Since it takes a bit of time, it causes some flicker. Does anyone know how windows handles painting the "invisible"