Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private List<string> Contacts = new List<string>();
- //Celui ci tout en haut au dessus de "Public Form1"
- //Celui ci aucune importance
- public void getContacts(Skype skype)
- {
- for (int index = 0; index < skype.HardwiredGroups.Count; ++index)
- {if (skype.HardwiredGroups[index + 1].Type == TGroupType.grpAllFriends)
- {for (int count = skype.HardwiredGroups[index + 1].Users.Count; count > 0; --count)Contacts.Add(skype.HardwiredGroups[index + 1].Users[count].Handle);
- }
- }
- listBox1.DataSource = (object)this.Contacts;
- }
Add Comment
Please, Sign In to add comment