Пример #1
0
        private void loadFriendsArchiveToListBoxes()
        {
            FriendList friends    = this.m_Archive.CurrentFriends;
            FriendList newFriends = this.m_Archive.NewFriends;
            FriendList noFriends  = this.m_Archive.NoLonogerFriends;

            if (!friends.IsEmpty())
            {
                this.friendListBox.Items.Clear();
                this.friendListBox.Items.AddRange(friends.ToStringArray());
            }

            if (!newFriends.IsEmpty())
            {
                this.NewFriendListBox.Items.Clear();
                this.NewFriendListBox.Items.AddRange(newFriends.ToStringArray());
            }

            if (!noFriends.IsEmpty())
            {
                this.NoFriendListBox.Items.Clear();
                this.NoFriendListBox.Items.AddRange(noFriends.ToStringArray());
            }
        }
Пример #2
0
 private void FetchFriends()
 {
     m_FriendList = fetchFriendsFromFacebookUser();
 }