示例#1
0
    private bool areTheyFriends()
    {
        areFriends = friendHld.checkIfFriend(currentlyLoggedUserID, visitedUserId);
        if (areFriends)
        {
            btnAddFriend.Text = "Unfriend";
        }
        else
        {
            btnAddFriend.Text = "Add Friend";
        }

        return(areFriends);
    }
示例#2
0
    }//end of searchUsers class

    private bool areTheyFriends(String visitedUserId)
    {
        areFriends = friendHld.checkIfFriend(currentlyLoggedUserID, visitedUserId);

        return(areFriends);
    }