예제 #1
0
 private bool isValidData()
 {
     return(Validator.IsPresent(tbUserName) && Validator.IsPresent(tbPassword) &&
            Validator.IsInt32(tbPassword) && Validator.IsCorrectLength(tbPassword, 4) &&
            Validator.StartsWithLetter(tbUserName));
 }