I have painted with a gradient my winforms. I´m using a panel in one of them with AutoScroll = true. That way, I can display all the info without taking to much space.
Now, I want that panel to be transparent. I use transparent as background color and works fine. The problem is when I scroll. The transparency messes up. Is there any way to solve this problem?
I also tried to paint the panel with the same gradient that my form has after knowing the final height. But I have the same problem.
Here are some images: (don´t look at the textboxes or those transparent small panels. That will be white).
Before scrolling (RIGHT)

After scrolling (Backcolor issue)

Another one after scrolling:

I will be quoting the answer: