private void dgv_listaArticulos_CellContentClick(object sender, DataGridViewCellEventArgs e) { DataGridView dgv_actual = sender as DataGridView; if (dgv_actual.CurrentCell.ColumnIndex == 5) { int codigoOrdenCompra = int.Parse(dgv_actual.Rows[e.RowIndex].Cells[0].Value.ToString()); tomarOrdenDECompra(codigoOrdenCompra); ControladorELCP.buscarDetalleDeCompra(codigoOrdenCompra); ControladorELCP.obtenerProveedores(); ControladorELCP.mostrarInterfazProveedores(); } }