|
@ -51,6 +51,15 @@ namespace Skype_History_Viewer |
|
|
{ |
|
|
{ |
|
|
//attaches the program to skype
|
|
|
//attaches the program to skype
|
|
|
skype.Attach(); |
|
|
skype.Attach(); |
|
|
|
|
|
|
|
|
|
|
|
//adds all users to lstUsers
|
|
|
|
|
|
if(!connected) |
|
|
|
|
|
{ |
|
|
|
|
|
foreach (User user in skype.Friends) |
|
|
|
|
|
{ |
|
|
|
|
|
lstUsers.Items.Add(user.FullName); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
|
catch |
|
|
catch |
|
@ -82,5 +91,10 @@ namespace Skype_History_Viewer |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void cmdClear_Click(object sender, EventArgs e) |
|
|
|
|
|
{ |
|
|
|
|
|
lstChat.Items.Clear(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |