title: how to create a simple questionnaire using checkbox
body: <p>I'm trying to create a simple multiple choice questionnaire using checkboxes. My only problem is that the scores doesn't seem to appear correctly on the label.</p>
  
  <p>Here's my codes:</p>
  
  <pre><code> private void button1_Click(object sender, EventArgs e)
          {
      int score = 0;    
          //String A's value came from another form via combobox and button
          string answer1 = AdminForm.answer1;
          //Let checkbox1 be letter A
          if (checkBox1.Text == answer1)
                      {
                          score = score + 1;
                          label23.Text = Convert.ToString(score);
                      }
  }
  </code></pre>
  
  <p>Here's my code from the other form:</p>
  
  <pre><code>public static string answer1;
      private void button5_Click_1(object sender, EventArgs e)
              {
                  answer1 = comboBox1.Text;
              }
  </code></pre>
  
  <p>The rest of my codes are running smoothly except for this... What I want is that after clicking the submit button after filling out the checkboxes, the scores would appear correctly on a label... I'm not sure where is my error on this... I'd appreciate the help I can get.</p>