public void OnJoinedGroup(JoinGroupResponse response) { if (!agents.Exists(agent => agent.GroupId == response.groupId && agent.OperationCode == response.operationCode)) { GroupAgent agent = new GroupAgent(response.groupId, response.operationCode); agents.Add(agent); } }
protected void sosGroup_ManageAgents(object sender, UcControlArgs e) { GroupAgent.GroupId = e.Id; GroupAgent.UcDataBind(); mvGroup.ActiveViewIndex = 1; }