Пример #1
0
        private void Reception()
        {
            string sDataIncomming = _sReader.ReadLine();

            Console.WriteLine(sDataIncomming);

            if (sDataIncomming == "+1") // ajout de ligne
            {
                new Thread(() => grille.addLine()).Start();
            }
            else // partie terminé
            {
            }
        }