private void button_start_new_game_Click(object sender, EventArgs e) { clientScore = serverScore = 0; //инициализируем начальные игровые настройки и создаем игру GameOptions options = new GameOptions(); options.ip = IPAddr.Text; options.port = Port.Text; options.playerType = radioButton_server.Checked ? PlayerType.ptServer : PlayerType.ptClient; options.gameForm = this; options.playerMark = radioButton_server.Checked ? Cell.cCircle : Cell.cCross; game = new Game(options); game.Start(); }