I am trying to draw a gradinent in a panel and on a button. So far I can fill the panel with a solid color by using the on paint event of the panel, is this the right place to put the code or is there another location. Almost forgot how do a fill the panel with a gradient.

Thanks