private bool CheckNumberOfEulas(int number, out string error) { error = string.Empty; if (number > MAX_EULA_DOCS) { error = Messages.IMPORT_EULA_PAGE_MAX_TABS; return false; } return true; }