Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace WindowsFormsApplication1
- {
- class CheckUsername_Pass
- {
- public static string Check(string UsernameCheck, string PasswordCheck,string username, string password)
- {
- UsernameCheck = "Omega" + "omega";
- PasswordCheck = "Sweet12" + "sweet12";
- if (username == UsernameCheck & password == PasswordCheck)
- {
- System.Windows.Forms.MessageBox.Show("Login Successful");
- }
- else
- {
- System.Windows.Forms.MessageBox.Show("Login Failed \n Please Check The Username Or Password For Errors.");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement