title: Make Picturebox Bounds "collision" add to score Label
body: <p>Trying to make a simple C# program where a ship goes through several "checkpoints" and when it's bounds interesect, it adds to the players score, then game ends when you reach the final checkpoint. Can't figure out how to make the score go up and print to the label each time. Thanks!</p>
  
  <p><strong>UPDATE</strong>: I can get my boxes to increase the score once, but not on all the other pictureboxes. Also, when I hit the final "spaceport" picturebox I get stuck in a messagebox redirect loop. How do I solve these 2 things? Tutors at school are no help.</p>
  
  <pre><code>public partial class consoleForm : Form
  {
      public consoleForm()
      {
          InitializeComponent();
      }
  
      private void consoleForm_Load(object sender, EventArgs e)
      {
      }
  
      private void outputBox_TextChanged(object sender, EventArgs e)
      {
      }
  
      private void timer1_Tick(object sender, EventArgs e)
      {
          int score = (0);
          if (ship.Bounds.IntersectsWith(wormhole1.Bounds))
      {
          score += (1);
          userScore.Text = score.ToString();
          this.Refresh();
      }
      else if (ship.Bounds.IntersectsWith(wormhole2.Bounds))
      {
          score += (1);
          userScore.Text = score.ToString();
          this.Refresh();
      }
      else if (ship.Bounds.IntersectsWith(wormhole3.Bounds))
      {
          score += (1);
          userScore.Text = score.ToString();
          this.Refresh();
      }
      else if (ship.Bounds.IntersectsWith(wormhole4.Bounds))
      {
          score += (1);
          userScore.Text = score.ToString();
          this.Refresh();
      }
      if (ship.Bounds.IntersectsWith(spaceport.Bounds))
      {
          MessageBox.Show("you win");
          this.Refresh();
      }
  }
  </code></pre>