用paint方法渐变的窗口背景using System.Drawing.Drawing2D的应用C#源代码Graphics g=e.Graphics;
用paint方法渐变的窗口背景,using System.Drawing.Drawing2D的应用,C#源代码Graphics g=e.Graphics; Color FColor=Color.Blue; Color TColor=Color.Yellow; Brush b =new LinearGradientBrush(this.ClientRectangle, FColor, TColor, LinearGradientMode.ForwardDiagonal); g.FillRectangle(b,this.ClientRectangle); VS2008
下载地址
用户评论