C# code needed to draw a rectangle and filling it with gradient color.

Code should be C# for VS .NET 2003


I just want to draw a rectangle and fill it with any RGB color one edge and fade to White at the other.
Complete code for Main() needed so that as soon as app runs, the rectangle is drawn and painted.
Thanks.
rj94070Asked:
Who is Participating?
 
dttriConnect With a Mentor Commented:
 Hi,
  This is exactly what you need:

http://www.c-sharpcorner.com/2/gdi_plus.asp
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.