Same number in all 5 boxes and it's supposed to be 5 different numbers in 5 different boxes
<blockquote>
  <p><strong>Possible Duplicates:</strong><br>
  <a href="http://stackoverflow.com/questions/3945062/random-numbers-in-c">Random numbers in C#</a><br>
  <a href="http://stackoverflow.com/questions/767999/random-number-generator-not-working-the-way-i-had-planned-c">Random number generator not working the way I had planned (C#)</a>  </p>
</blockquote>



<p>I get the same number in the 5 boxes. How can it be avoided?</p>

<pre><code>using System;
using System.Windows.Forms;

namespace LotteryTickets
{
    public partial class Form1 : Form
    {
       /// &lt;summary&gt;
       /// no-args Constructor
       /// &lt;/summary&gt;
       public Form1()
       {
           InitializeComponent();
       }

       #region "== Control Event Handlers =="
       private void Form1_Load(object sender, EventArgs e)
       {
           ClearWinningNumbers();
       }

       #endregion "== End Control Event Handlers =="

       #region "== Methods ==";
       /// &lt;summary&gt;
       /// Clears the text inside the winning number "balls"
       /// &lt;/summary&gt;
       private void ClearWinningNumbers()
       {
           this.lblPickFive_1.Text = "";
           this.lblPickFive_2.Text = "";
           this.lblPickFive_3.Text = "";
           this.lblPickFive_4.Text = "";
           this.lblPickFive_5.Text = "";
           this.lblTwoByTwo_1.Text = "";
           this.lblTwoByTwo_2.Text = "";
           this.lblPowerball_1.Text = "";
           this.lblPowerball_2.Text = "";
           this.lblPowerball_3.Text = "";
           this.lblPowerball_4.Text = "";
           this.lblPowerball_5.Text = "";
           this.lblPowerball_PB.Text = "";
       }
       #endregion "== End Methods ==";

       private void cblTwoByTwo_2_SelectedIndexChanged(object sender, EventArgs e)
       {

       }

       private void cblTwoByTwo_1_SelectedIndexChanged(object sender, EventArgs e)
       {

       }

       private void btnPlay_Click(object sender, EventArgs e)
       {
           RandomNumber(1,20);
       }

       private void lblPickFive_1_Click(object sender, EventArgs e)
       {

       }

       public void RandomNumber(int min, int max)
       {
           int num = new Random().Next(min, max);
           lblPickFive_1.Text = num.ToString();
           int num2 = new Random().Next(min, max);
           lblPickFive_2.Text = num2.ToString();
           int num3 = new Random().Next(min, max);
           lblPickFive_3.Text = num3.ToString();
           int num4 = new Random().Next(min, max);
           lblPickFive_4.Text = num4.ToString();
           int num5 = new Random().Next(min, max);
           lblPickFive_5.Text = num5.ToString();
       }

       private void lblPickFive_2_Click(object sender, EventArgs e)
       {

       }
    }
}
</code></pre>
