title: Add a checkbox to allow the labels to be updated whenever the input text changes
body: <p>I am very new to programming language and am in my first Programming class at my university. For a project we are creating a VERY simple project where the user enters words and the program puts them together. It's day one stuff I know but I'm trying to go for the extra credit and "Add a check box to allow the labels to be updated whenever the input text changes".</p>
  
  <p>I have a program that when you type in two separate words in separate text boxes it displays each word individually and then also the two words combined at the bottom. Our professor wants my to add an check box option at the bottom that when clicked with make it so when the users types the two words they display automatically without clicking the display button.</p>
  
  <p>I know this is easy stuff, but any help would be much appreciated.</p>
  
  <p>Thank you for your help.</p>
  
  <pre><code>Public Class form1
      Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblLeft.Click
  
      End Sub
  
      Private Sub lbl2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblRight.Click
  
      End Sub
  
      Private Sub txtBoxLeft_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtBoxLeft.TextChanged
  
      End Sub
  
      Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click
          Dim strTxtBoxLeft As String
          strTxtBoxLeft = txtBoxLeft.Text
          Dim strTxtBoxRight As String
          strTxtBoxRight = txtBoxRight.Text
  
          lblLeft.Text = strTxtBoxLeft
  
          lblRight.Text = strTxtBoxRight
  
          lblCombo.Text = strTxtBoxLeft &amp; " " &amp; strTxtBoxRight
      End Sub
  
      Private Sub chkbox_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkbox.CheckedChanged
          If chkbox.CheckState = False Then
  
          End If
      End Sub
  
      Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click
          Me.Close()
      End Sub
  End Class
  </code></pre>