title: How to increase a number inside a label according to a 'if' statement
body: <p>How do I increase a number inside a label according to a 'if' statement? Here is my code:</p>
  
  <pre><code>Dim uservalue As Integer
  uservalue = TextBox1.Text
  
  If tbxOperator.Text = "+" Then
      If uservalue = number + number1 Then
          MessageBox.Show("Correct")
      Else
          MessageBox.Show("Incorrect")
      End If
  End If
  
  If tbxOperator.Text = "-" Then
      If uservalue = number - number1 Then
          MessageBox.Show("Correct")
      Else
          MessageBox.Show("Incorrect")
      End If
  End If
  
  Dim rn As Random
  rn = New Random
  number = rn.Next(1, 9)
  number1 = rn.Next(1, 9)
  tbxOne.Text = number.ToString
  tbxTwo.Text = number1.ToString
  
  number2 = rn.Next(1, 3)
  If number2 = 1 Then
      tbxOperator.Text = "+"
  Else
      tbxOperator.Text = "-"
  End If
  </code></pre>
  
  <p>I essentially have some functioning code that will generate a simple sum with a '+' or '-' operator and if the user types the correct answer a box appears saying 'correct'. What I would like to do is make it so when the user gets a correct answer, they are awarded a point in a label called 'Points'. Could somebody assist me in doing this?</p>