Advertisement
Guest User

Untitled

a guest
Sep 27th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. private void button1_Click(object sender, EventArgs e) // After clicking the login button,
  2. {
  3. string username;
  4. string password;
  5. username = textBox1.Text;
  6. password = textBox2.Text;
  7.  
  8. if ((username == "Root") && (password == "Root")) // going to be my login stuff and I want it to load Form2 which will have moar stuff
  9. {
  10.  
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement