private void btn_pick_Click(object sender, EventArgs e) { County county = (County)dgw_lands.CurrentRow.DataBoundItem; if (county.value > players[3].balance) { MessageBox.Show("Nincs elég pénzed a megyére, válassz másikat", "Hiba", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } else { btn_pick.Enabled = false; btn_pass.Enabled = false; btn_startyear.Enabled = true; //pickLandsFirst(); county.setOwner(players[3].name, players[3].id); dgw_lands.Refresh(); checkIfBid(); btn_startyear.Enabled = true; } }