Avevo visto qual sito, ma non mi ha aiutato![]()
comunque ho risolto cosi:
codice:private void cBox_a_CheckedChanged(object sender, EventArgs e) { if (cBox_a.Checked == true) { txt_a.Enabled = true; txt_a.Text = " "; } if (cBox_a.Checked == false) { txt_a.Enabled = false; txt_a.Text = " "; int a; a = 0; } }

Rispondi quotando