private void BtnRepuestos_Click(object sender, EventArgs e) { frmConsultaRepuestos frR = new frmConsultaRepuestos(true); frR.FormClosing += frmRepuestos_FormClosing; frR.Show(); this.Hide(); }
private void BtnAgregar_Click(object sender, EventArgs e) { frmConsultaRepuestos fCR = new frmConsultaRepuestos(false); AddOwnedForm(fCR); fCR.FormClosing += frmRepuestos_FormClosing; fCR.Show(); this.Hide(); }