public void BroadCastToAll(Object objrecebido, CollabServerT tEnviada, bool skipItself, String tipocon) { ArrayList list = (ArrayList)objrecebido; Object eventoMouse = list[0]; String nomeEvento = (String)list[1]; CollabServerT aSingleThread = null; for (int i = 0; i < clientVector.Count; i++) { aSingleThread = (CollabServerT)clientVector[i]; // Console.WriteLine("T:" + aSingleThread.tipocon + " S: " + aSingleThread.nome_sessao); // NOVA MODIFICACAO - olho if (skipItself) { if ((!aSingleThread.Equals(tEnviada)) && (aSingleThread.tipocon.Equals(tipocon))) { // Console.WriteLine("Evento enviado!"); aSingleThread.BroadCastToClient(list); } } else { if ((aSingleThread.tipocon.Equals(tipocon))) { aSingleThread.BroadCastToClient(list); } } } }