Subject: onMessage
I am trying to use the event onMessage and is not working for me. (i am working with CF)
I am doing the next
where jClient is
and the method is:
Thanks you for your help.
I am doing the next
jClient.OnMessage += new agsXMPP.XmppClientConnection.MessageHandler(jClient_OnMessage);
where jClient is
jClient = new XmppClientConnection();
and the method is:
private void jClient_OnMessage(object sender, Message msg)
{
MessageBox.Show(msg.Body,"Mensaje",MessageBoxButtons.OK,MessageBoxIcon.Asterisk,MessageBoxDefaultButton.Button1);
}
{
MessageBox.Show(msg.Body,"Mensaje",MessageBoxButtons.OK,MessageBoxIcon.Asterisk,MessageBoxDefaultButton.Button1);
}
Thanks you for your help.