示例#1
0
 public void Validrefreshchatnickarray(string message, int Chatnumber)
 {
     string[] chatnickarray = jsonHelp.getRefreshchatnickarray(message);
     if (this.Chatnumber == Chatnumber)
     {
         App.Current.Dispatcher.InvokeAsync(() =>
         {
             Friendlist.Clear();
             for (int i = 0; i < chatnickarray.Length; i++)
             {
                 Friendlist.Add(new Frienddata(chatnickarray[i]));
             }
         });
     }
 }