private void button1_Click(object sender, EventArgs e) { repoMant td = new repoMant(tablaProductos.Rows[tablaProductos.CurrentRow.Index].Cells[0].Value + ""); td.ShowDialog(); }
private void tablaProductos_CellContentClick(object sender, DataGridViewCellEventArgs e) { repoMant td = new repoMant(tablaProductos.Rows[tablaProductos.CurrentRow.Index].Cells[0].Value + ""); td.ShowDialog(); }