title: Visual Basic Radio Buttons with Submit Button
body: <p>I want the user to click on a radio button and then click the submit button. Once the submit button is pressed it changes a textbox value. However Visual Studio is telling me that I need to use a 'Raised Event'. I don't know how to use that or is it even needed? Here is the code:</p>
  
  <pre><code>   Private Sub create_Click(sender As Object, e As RoutedEventArgs)
          If RadioButton1.Checked = True Then
              Me.creflag.Text += "1"
  
          ElseIf RadioButton2.Checked = True Then
              Me.creflag.Text += "4224"
  
          ElseIf RadioButton3.Checked = True Then
              Me.creflag.Text += "2"
  
          ElseIf RadioButton4.Checked = True Then
              Me.immune.Text += "619659263"
              Me.typeflag.Text += "4"
          End If
      End Sub
  </code></pre>