//------------------------------------ //Carga de grilla de repuestos private void CargaFrmListaRepuestos() { hijo = new frmListaRepuestos(this, false); hijo.TopLevel = false; hijo.Dock = DockStyle.Fill; this.spcCont.Panel1.Controls.Add(hijo); this.spcCont.Panel1.Tag = hijo; hijo.Show(); }
private void btnAgregarRepuesto_Click(object sender, EventArgs e) { frmListaRepuestos hijo = new frmListaRepuestos(this, true); hijo.ShowDialog(); }