Hi, I want to hide the textbox when I select the radio button called administrative. And when you select a driver, show the textboxs ..
To hide a text box by means of radio buttons you can use the following
private void radioButton1_CheckedChanged(object sender, EventArgs e)
{
if (radioButton1.Checked)
{
txtComentario.Hide();
}
else
{
txtComentario.Show();
}
}
You use the checkedCahnged event of the radio button then ask if it is selected or not and hide and show the text box