Advertisement
Guest User

Untitled

a guest
May 10th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. Register: If TextBox3.Text = TextBox2.Text Then
  2. My.Settings.User = TextBox1.Text
  3. My.Settings.Pass = TextBox2.Text
  4. My.Settings.Save()
  5. MsgBox("Create Account", MsgBoxStyle.Information, "Register")
  6. Form2.Show()
  7. Else
  8. MsgBox("Паролите не съвпадат", 0, "Грешка!")
  9. TextBox3.Clear()
  10. End If
  11.  
  12.  
  13.  
  14.  
  15. Login: If TextBox1.Text = My.Settings.User And
  16. TextBox2.Text = My.Settings.Pass Then
  17. MsgBox("Браво майна", 0, "к")
  18. Else
  19. MsgBox("Missing Username or Password", MsgBoxStyle.Information, "Error")
  20. End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement