Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string username = "SwitchBlade";
- string password = "Leavl 7";
- On Top of public Form1() do
- if(usertxt.Text == username)
- {
- if(passtxt.Text == password)
- {
- Form2 tampil = new Form2();
- tampil.Show();
- Visible = false;
- } else
- {
- MessageBox.Show("Username/Password Is Incorrect!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement