private bool isFormValid() { return(userTxtBox.getUserName() != null && pwdTxtBox.getPassword() != null && termschkbox.IsChecked()); }