//to make box appear for the name private void RBname_CheckedChanged(object sender, EventArgs e) { if (RBname.Checked) { Tyear.Hide(); textBox1.Hide(); Tname.Show(); } }
//to Hide all when you open the form private void RecherchActe_Load(object sender, EventArgs e) { Tname.Hide(); Tyear.Hide(); }