Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Username and password code:
- Public uname As String = "test"
- Private passwd As String = "123"
- Login Button Code:
- If TextBox1.Text = uname And TextBox2.Text = passwd Then
- Me.Hide()
- TextBox2.Text = ""
- TextBox1.Text = ""
- Main.Show()
- Logout Button Code:
- Me.Hide()
- Form1.Show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement