Exemple #1
0
        private void findFriendsFromMyBirthCountry_Click(object sender, EventArgs e)
        {
            ListBoxOfFriends.Items.Clear();
            m_SingleFriends = new SingeFriendsFinder(m_LoggedInUser);
            Dictionary <string, string> friendsRelationShipStatus = m_SingleFriends.InformationGather();

            fillTextBoxWithSingleFriends(friendsRelationShipStatus);
        }
Exemple #2
0
        private void findFriendsButton_Click(object sender, EventArgs e)
        {
            ListBoxOfFriends.Items.Clear();
            m_FriendsInACity = new FriendInACityFinder(m_LoggedInUser);
            Dictionary <string, string> friendsWithInputedCity = m_FriendsInACity.InformationGather();

            fillTextBoxWithFriendsByEnteredLocation(friendsWithInputedCity, CityTextBox.Text);
        }