Exemple #1
0
 private void miViewUserVCard_Click(object sender, RoutedEventArgs e)
 {
     if (client != null && client.IsConnected)
     {
         if (UserSetting.VCard == null)
         {
             if (DialogUtils.ShowConfirmation(this, "The vCard is not available. Request it to server?"))
             {
                 RefreshAndViewVCard(client.Jid);
             }
         }
         else
         {
             ViewVCard(UserSetting.VCard);
         }
     }
     else
     {
         DialogUtils.ShowWarning(this, "User not connected :-)");
     }
 }