Hi I am trying to make a color picker and I added some picture boxes pic0 to pic etc what I am trying to do is find out the color when I click on each picture box. this is the code I have in pic0 click event I also added handles to other picture boxees. bascily I am trying to do like you did in VB6 with control array but I herd you can not do them in .net anyway hope someone can help thanks.
Code:Private Sub Pic0_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Pic0.Click, Pic1.Click MsgBox("Here") End Sub




Reply With Quote