
Envoyé par
peregna2007
On peut voir le bout de code ? Cela pourrait nous faciliter la tâche.
Pour l'initialisation
DataGridView1.RowCount = lines.Length
Pour le remplissage
1 2 3 4 5 6
|
DataGridView1.Rows(i).Cells(0).Value = modules(i).nom
DataGridView1.Rows(i).Cells(1).Value = myRectangle.Height / 10
DataGridView1.Rows(i).Cells(2).Value = myRectangle.Width / 10
DataGridView1.Rows(i).Cells(3).Value = (myRectangle.X) / 10
DataGridView1.Rows(i).Cells(4).Value = (myRectangle.Y) / 10 |
Quandje clique sur le tableau dans l'interface graphique j'ai cette structure
1 2 3
| Private Sub DataGridView1_CellContentClick_1(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
End Sub |
Partager