hi,
private void TestService_Load(object sender, EventArgs e) { ListenToEvents(true); try { var friend = facebookService1.friends.getUserObjects(); // var friends = facebookService1.friends.getUserObjects(); var me = facebookService1.users.getInfo(); LoadUserBasedControls(me); friendList1.Friends = friend; } catch (Exception ex) { MessageBox.Show(ex.Message); Close(); } } public void ListenToEvents(bool listen) { if (listen) { friendList1.FriendSelected += friendList1_FriendSelected; }
} . while executing this code using c sharp im ageeting
Thanks in Advance......