private void Button_Click(object sender, RoutedEventArgs e)
 {
     xmpp1.IMServer = "***";
     xmpp1.IMPort   = 5222;
     xmpp1.Connect("user1", "heslouser1");
     xmpp1.ChangePresence(1, "I'm here!");
 }