Guest User

skype tool

a guest
Mar 3rd, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.61 KB | None | 0 0
  1. private List<string> Contacts = new List<string>();
  2. //Celui ci tout en haut au dessus de "Public Form1"
  3.  
  4. //Celui ci aucune importance
  5. public void getContacts(Skype skype)
  6. {
  7.             for (int index = 0; index < skype.HardwiredGroups.Count; ++index)
  8.             {if (skype.HardwiredGroups[index + 1].Type == TGroupType.grpAllFriends)
  9.                 {for (int count = skype.HardwiredGroups[index + 1].Users.Count; count > 0; --count)Contacts.Add(skype.HardwiredGroups[index + 1].Users[count].Handle);
  10.                 }
  11.             }
  12.             listBox1.DataSource = (object)this.Contacts;
  13.                  }
Add Comment
Please, Sign In to add comment