求书,送50分
http://expert.csdn.net/Expert/topic/2304/2304786.xml?temp=.78677

解决方案 »

  1.   

    private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
    {
         Rectangle ClientRectangle = new Rectangle(15, 15, 100, 200);     LinearGradientBrush gradient = new LinearGradientBrush(ClientRectangle, 
            Color.Black, Color.White, 90.0f);   //渐变过渡的方向
         e.Graphics.FillRectangle(gradient, ClientRectangle);
    }
      

  2.   

    别忘了
    using System.Drawing.Drawing2D;
      

  3.   

    其实没有这么复杂,用 CSS 中的滤镜也可以实现。