Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Class Form1
  2.  
  3.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  4.         Label2.Text = "10000 + 2000 + 300 + 40 + 5 = ?"
  5.     End Sub
  6.  
  7.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  8.         Dim res, x, y
  9.         res = 12345
  10.         x = TextBox1.Text
  11.         y = Label1.Text
  12.         If x <> res Then
  13.             y = "Fuck you!"
  14.  
  15.         ElseIf x = res Then
  16.             y = "Good dog :) "
  17.         End If
  18.  
  19.     End Sub
  20. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement