Hi, I did some controls that needs a background transparent, cause roundoed corners or a simulated shadow and some effects in the paint event.
I set the background property to color.transparent and it works fine at first.
When I call the paint event, I declare a new bitmap, and I call a procedure I write to calculate the grafics
Private Sub Calculate_Grafics(ByVal Agraphic As Graphics)
then I save the result in a bitmap, to not have to calculate everytime.
But when I restore the saved image, the background transparent of the control doesn't paint the parent form or Panel. It makes me a hole inthe form I I can see trough it..
I need to paint the form with no holes before paint the stored image and I don't know how to do it.
Thanks