I have 2 forms (the login and the program) by the login of the person I have that one of the 2 panels (inside the program has 2 panes for each type of login: adm and official) go ahead however Login.CS I'm not able to pull the panels in place to bring bring to front and both are in the same namespace
if (Olho.HasRows)
{
Roteador Form1 = new Roteador();
this.Hide();
Form1.Show();
Olho.Read();
int Valor = Convert.ToInt32(Olho[1]);
if(Valor == 1)
{
*aqui eu colocaria o Panel.BringToFront
}
else
{
*aqui eu colocaria o Panel.BringToFront
}