How do I create a gradient background on a form in C# .net 3.5?
Posted on 2008-11-08
There is no clear cut example on how to do this. I need to create a function that can create a gradient background on a windows form which can show a gradient with three colors. The key here is I want the gradient to show through a transparent button or panel. The examples out there are poor and when I set a control to transparent,the gradient does not show through. The transparency goes to the root color of the form. I want to make the gradient the root color of the form. Can anyone show me how to accomplish this?