private void OnClientDisconnect(Socket socket) { Network.Client client = ClientsManager.Find(socket); if (client != null) { ClientsManager.Clients.Remove(client); FormDispatcher.RefreshList(ClientsManager.Clients.ToArray()); FormDispatcher.AppendLog("Un Utilisateur se déconnecte" + Environment.NewLine); } }
private void OnStatusUpdate(ServerStatusEnums status) { FormDispatcher.AppendLog(status + Environment.NewLine); }