private void TsmEncaminhamento_Click(object sender, EventArgs e) { pnlMenuEnc.Controls.Clear(); frmEncaminhamento frmEncaminha = new frmEncaminhamento(); frmEncaminha.TopLevel = false; frmEncaminha.Visible = true; pnlMenuEnc.Controls.Add(frmEncaminha); }
public frmInicialEncaminhamento() { InitializeComponent(); frmEncaminhamento frmEncaminha = new frmEncaminhamento(); frmEncaminha.TopLevel = false; frmEncaminha.Visible = true; pnlMenuEnc.Controls.Add(frmEncaminha); }