Advertisement
RyanDaCoder

code

Feb 23rd, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. form1/login:
  2.  
  3. Public Class Form1
  4.  
  5. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  6. 'ADD NEW FORM CALLED Subs.vb
  7. Me.Visible = False
  8. Subs.Visible = True
  9. End Sub
  10. End Class
  11.  
  12. form2/SubGen:
  13.  
  14. Public Class Subs
  15.  
  16. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  17. Timer1.Interval = 1
  18. Label1.Text = Form1.TextBox1.Text
  19. End Sub
  20.  
  21. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  22. changePhoto.ShowDialog()
  23. PictureBox1.ImageLocation = changePhoto.FileName
  24. End Sub
  25.  
  26. Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  27. Label3.Text = Label3.Text + 1
  28. End Sub
  29. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement