Example #1
0
 private int getIndex(COMDT_FRIEND_INFO info, ListView <COMDT_FRIEND_INFO> list, bool ingore_worldid = false)
 {
     if (list != null)
     {
         for (int i = 0; i < list.Count; i++)
         {
             if (UT.BEqual_ACNT_UNIQ(list[i].stUin, info.stUin, ingore_worldid))
             {
                 return(i);
             }
         }
     }
     return(-1);
 }