Graphics g = e.Graphics;
            System.Drawing.Drawing2D.LinearGradientBrush lb = new System.Drawing.Drawing2D.LinearGradientBrush(this.DisplayRectangle, Color.Blue, Color.Pink, 45);
            g.FillRectangle(lb, this.DisplayRectangle);
posted on 2010-06-08 20:27  WPF之家  阅读(131)  评论(0编辑  收藏  举报