hi,
I am creating picture boxes dynamically using the following code.
----------------------------
Dim picture As New PictureBox()
picture.Size = New Size(100, 100)
picture.Left = 100
Panel1.Controls.Add(picture)
----------------------------
For example I am creating 10 instances of the picture box control I want to know how to find when a picture box is clicked
can anyone tell me how to a event handlers to it.
thanks
I am creating picture boxes dynamically using the following code.
----------------------------
Dim picture As New PictureBox()
picture.Size = New Size(100, 100)
picture.Left = 100
Panel1.Controls.Add(picture)
----------------------------
For example I am creating 10 instances of the picture box control I want to know how to find when a picture box is clicked
can anyone tell me how to a event handlers to it.
thanks