public void getWin(bool isNeuron) { if (countStone <= 0) { Statuslabel.Text = "Победа " + ((isNeuron) ? "НС" : "пользователя"); NeuronHelper.Write(Statuslabel.Text); neuronGame.CorrectNeurons(isNeuron); EnabledControl(true); } }
public void GetWin(bool isNeuron, NeuronNetwork network) { if (_countStone <= 0) { network.CorrectNeurons(isNeuron); NeuronHelper.Write("Победа " + (isNeuron?"НС!":"тренера!")); network.Init(); _countStone = 11; _countGames--; } }