This is a very simple login form. I set it up so that the form won't close until it's cancelled or a valid username and password are entered. I chained the check for the username and the check for the password, so that if the username doesn't pass the password isn't checked and the password check returns false. The code is simple enough that that is easily changed
I included a picturebox for a logo.