title: Need help finding the error in my Visual Basic code
body: <pre><code>Public Class Form1
  
      Dim salesAmt As Double
      Const stateRate As Double = 0.025
      Const countyRate As Double = 0.005
      Const cityRate As Double = 0.0025
      Dim stateTax As Double
      Dim countyTax As Double
      Dim cityTax As Double
  
  
  
      Public Sub Label1_Click(sender As Object, e As EventArgs) Handles entryLabel.Click
          salesAmt = Convert.ToDouble(salesAmtTextBox.Text)
  
      End Sub
  
      Public Sub subButton_Click(sender As Object, e As EventArgs) Handles subButton.Click
  
          stateTax = stateRate * salesAmt
          countyTax = countyRate * salesAmt
          cityTax = cityRate * salesAmt
  
          stateLabel.Text = stateTax.ToString("C2")
          countyLabel.Text = countyTax.ToString("C2")
          cityLabel.Text = cityTax.ToString("C2")
      End Sub
  End Class
  </code></pre>
  
  <p>I'm meant to make a small application that displays tax rates for state/county/city, has a box to input the quarterly sales amount, and a submit button to calculate that amount and display all three tax values. Every time I hit submit I'm getting $0.00 in all the text boxes, I'm not sure what I'm doing wrong.</p>