I am creating a form and I am using a tabControl
, within a tabPage
. I am using several panels, my panels cover all the space, therefore, they are on top. I send them to call in this way:
private void salud_Click(object sender, EventArgs e)
{
Salu.Visible = true;
Economico.Visible = false;
}
The problem is that when I press the first button its panel appears, but when pressing another button, its respective panel no longer appears.