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); }
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); }