Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HOW TO MAKE A SIMPLE LOG IN BY KSHADOW22 (VISUAL BASIC 2008)
- _______Button1(Click)
- If TextBox1.Text = ("user") And TextBox2.Text = ("passcode") Then
- Form2.Show
- Else
- MessageBox.Show ("Error, Incorrect Information", "Error")
- End If
- _______TextBox1(Mouse Down)
- If TextBox1.Text = ("Username") Then
- Textbox1.text = ("")
- End If
- _______TextBox2(Mouse Down)
- If TextBox2.Text = ("Password") Then
- TextBox2.Text = ("")
- End If
- {EXTRA FEATURES}
- _______Form1(Load)
- TextBox1.Text = ("Username")
- TextBox2.Text = ("Password")
- TextBox2.UseSystemPasswordChar = True
- Me.BackColor = Color.Black
- TextBox1.BackColor = Color.Black
- TextBox2.BackColor = Color.Black
- Button1.BackColor = Color.Black
- Button1.ForeColor = Color.Cyan
- TextBox1.ForeColor = Color.Lime
- TextBox2.ForeColor = Color.Red
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement