You are on page 1of 1

Button1

---------------------
If Button2.Enabled = True Then Button2.Enabled = False
If TextBox1.Visible = False Then TextBox1.Visible = True
If TextBox2.Visible = False Then TextBox2.Visible = True
TextBox1.Text = "computer"
TextBox2.Text = "12345"
Label2.Text = "yousername"
Label3.Text = "password"
-----------------------------------------------------------------------------------
---------------------------------------------
Button2
---------------------
If Button2.Enabled = False Then Button2.Enabled = True
If Button1.Enabled = True Then Button2.Enabled = False
If Button3.Enabled = True Then Button2.Enabled = True
If TextBox1.Visible = False Then TextBox1.Visible = True
If TextBox2.Visible = False Then TextBox2.Visible = True
TextBox1.Text = ""
TextBox2.Text = ""
Label2.Text = "credit card number"
Label3.Text = "security code"
___________________________________________________________________________________
______
Button3
-----------------
If TextBox1.Text = "computer" Then MessageBox.Show("then yousername in
correct") Else
MessageBox.Show("the yousername dont correct")

If TextBox2.Text = "12345" Then MessageBox.Show("then password in correct")


Else MessageBox.Show("the password dont correct")

___________________________________________________________________________________
_________

lable
-----------
Label2.Text = "yousername"
Label3.Text = "password"

You might also like