C# How do you continuously add values to a Label Box so that the number generated keeps on adding to it?
<p>I am working on a dice roller program, we are suppose to have a "Total Money Earned" label box which shows the total amount of money earned when the roller rolls the dice. if you roll a 6 you earn 600 dollars if you earn a 5 you earn 500 dollars etc etc. I can get the dollar value to show up on the label box but when i continue rolling, the number will be replaced by the next value instead of summing to for example roll a 5 then you earn 500 dollar then hit roll again you roll 1 and then it should show $600 = 500 + 100.</p>

<p>Please help heres the code im using</p>

<pre><code> private void button1_Click(object sender, EventArgs e)
 {
     int roll1;

     Random rand = new Random();

     roll1 = rand.Next(6) + 1;
     int value = 100;


     int sum = (roll1 * value);
     totalmoneyLabel.Text = sum.ToString("c");




     if (roll1 == 1)
     {   
         diceBox1.Image = drios1_Project2.Properties.Resources._1Die;
     }

     if (roll1 == 2)
     {
         diceBox1.Image = drios1_Project2.Properties.Resources._2Die;
     }

     if (roll1 == 3)
     {
         diceBox1.Image = drios1_Project2.Properties.Resources._3Die;
     }

     if (roll1 == 4)
     {
         diceBox1.Image = drios1_Project2.Properties.Resources._4Die;
     }

     if (roll1 == 5)
     {
         diceBox1.Image = drios1_Project2.Properties.Resources._5Die;
     }

     if (roll1 == 6)
     {
         diceBox1.Image = drios1_Project2.Properties.Resources._6Die;
     }
}
</code></pre>
