private ics_AddContactRequestResponse ( object sender, bool addContactSuccess, string messageFromServer ) : void | ||
sender | object | |
addContactSuccess | bool | |
messageFromServer | string | |
return | void |
private void ics_AddContactRequestResponse(object sender, bool addContactSuccess, string messageFromServer)
{
Invoke(new MethodInvoker(delegate
{
if (addContactSuccess)
{
ics.GetContactList();
}
else
{
MessageBox.Show(messageFromServer, "Unable to add contact", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
}
));
}