private void DtgPersona_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (FrmRecepcion != null) { Persona persona = (Persona)DtgPersona.CurrentRow.DataBoundItem; FrmRecepcion.Recibir(persona); this.Hide(); } }
private void DtaTablaProductos_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (FrmRecepcion != null) { RegistrarProducto producto = (RegistrarProducto)DtaTablaProductos.CurrentRow.DataBoundItem; FrmRecepcion.Recibir(producto); this.Hide(); } }
private void DgvConsultarCliente_CellClick(object sender, DataGridViewCellEventArgs e) { if (FrmRecepcion != null) { Cliente cliente = (Cliente)DgvConsultarCliente.CurrentRow.DataBoundItem; FrmRecepcion.Recibir(cliente); this.Hide(); } }