Apr 3rd, 2020
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Private Sub summedTxt(sender As Object, e As EventArgs) Handles txtNumber1.TextChanged, txtNumber2.TextChanged
  2. Dim num As Integer
  3. Dim num2 As Integer
  4. Integer.TryParse(txtNumber1.Text, num)
  5. Integer.TryParse(txtNumber2.Text, num2)
  6. txtTotal.Text = num + num2
  7. End Sub
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.