梯度渐变,C#源代码LinearGradientBrushlinGrBrush=newLinearGradientBrush(newPoint(0,10),newPoint(200,10),Color.Red,Color.Blue);e.Graphics.FillRectangle(linGrBrush,0,0,200,50);linGrBrush.GammaCorrection=true;e.Graphics.FillRectangle(linGrBrush,0,60,200,50);VisualStudio2008创建
效果还不错
还可以,有参考价值