Guest User

Untitled

a guest
Nov 23rd, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. oPublic Class Form1
  2.  
  3. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  4. SendKeys.Send(TextBox1.Text)
  5. SendKeys.Send("({ENTER})")
  6. End Sub
  7.  
  8. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  9. Timer1.Interval = TextBox2.Text
  10. Timer1.Enabled = True
  11.  
  12. End Sub
  13.  
  14. Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  15. Timer1.Enabled = False
  16.  
  17. End Sub
  18.  
  19. Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
  20. Me.Close()
  21. End Sub
  22. End Class
Add Comment
Please, Sign In to add comment