Example #1
0
 private bool CheckLogin()
 {
     user = methods.LoginUser(txtUserName.Text.Trim(), txtPassword.Text.Trim());
     if (user == null)
     {
         return(false);
     }
     else
     {
         return(true);
     }
 }