private void BtnCadastros_Click(object sender, EventArgs e) { panel3.Controls.Clear(); FormCadGeral GeralCad = new FormCadGeral(); GeralCad.TopLevel = false; panel3.Controls.Add(GeralCad); GeralCad.Show(); }
private void Button2_Click_1(object sender, EventArgs e) { panel3.Controls.Clear(); FormCadGeral cad = new FormCadGeral(); cad.TopLevel = false; panel3.Controls.Add(cad); cad.Show(); }