private void btnPRODUCTOS_Click(object sender, EventArgs e) { FormProductos frm = new FormProductos(); frm.FormClosed += new FormClosedEventHandler(mostrarlogoAlCerrarForm); AbrirFormInPanel(frm); }
private void btnBuscar_Click(object sender, EventArgs e) { FormProductos frm = new FormProductos(); AddOwnedForm(frm); frm.FormBorderStyle = FormBorderStyle.None; frm.TopLevel = false; frm.Dock = DockStyle.Fill; this.Controls.Add(frm); this.Tag = frm; frm.BringToFront(); frm.Show(); }