Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- form1/login:
- Public Class Form1
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- 'ADD NEW FORM CALLED Subs.vb
- Me.Visible = False
- Subs.Visible = True
- End Sub
- End Class
- form2/SubGen:
- Public Class Subs
- Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
- Timer1.Interval = 1
- Label1.Text = Form1.TextBox1.Text
- End Sub
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- changePhoto.ShowDialog()
- PictureBox1.ImageLocation = changePhoto.FileName
- End Sub
- Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
- Label3.Text = Label3.Text + 1
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement