title: draw gradient color for form border
body: <p>i want to ask how do i add another color to the gradient color. iam currently using this code</p>
  <pre><code>  private void add3_Paint(object sender, PaintEventArgs e)
      {
          System.Drawing.Drawing2D.LinearGradientBrush brush = new System.Drawing.Drawing2D.LinearGradientBrush(this.ClientRectangle, Color.LightPink, Color.Gold, System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal);           
          e.Graphics.DrawRectangle(new System.Drawing.Pen(brush,10), this.ClientRectangle);
          brush.Dispose();
      }
  </code></pre>
  <p>the result was like this</p>
  <p><a href="https://i.stack.imgur.com/cd7YR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cd7YR.png" alt="enter image description here" /></a></p>
  <p><strong>for the purple was panel control using dock bottom, please ignore it !</strong>.
  what iam asking is as you can see iam using gradient color <code>light pink</code> and <code>gold</code>. but i want to add another color, e.g add another color green and add another color red (any slot for color) but the code i use only accessible for <code>two</code> color</p>