private void ChatRoomApi_LoginHandler(NIMChatRoom.NIMChatRoomLoginStep loginStep, NIM.ResponseCode errorCode, NIMChatRoom.ChatRoomInfo roomInfo, NIMChatRoom.MemberInfo memberInfo)
 {
     if (loginStep == NIMChatRoom.NIMChatRoomLoginStep.kNIMChatRoomLoginStepRoomAuthOver && errorCode == NIM.ResponseCode.kNIMResSuccess)
     {
         _joinedRoomIdSet.Add(roomInfo.RoomId);
     }
     if (errorCode != NIM.ResponseCode.kNIMResSuccess)
     {
         MessageBox.Show(loginStep.ToString() + " " + errorCode.ToString(), "进入聊天室出错");
     }
 }
 void OnQueryMembersCompleted(long roomId, NIM.ResponseCode errorCode, MemberInfo[] members, NIMChatRoom.NIMChatRoomGetMemberType type)
 {
     if (errorCode == NIM.ResponseCode.kNIMResSuccess)
     {
         OutputForm.SetText(members.Dump());
         if (members == null)
         {
             return;
         }
         foreach (var member in members)
         {
             AddMemberToListview(member, type);
         }
     }
     else
     {
         MessageBox.Show("查询聊天室成员失败:" + errorCode.ToString());
     }
 }