Hello everybody,
We are trying to get a picturebox on a form via a class. The reason is that we need sometimes more then one time the same picture on the form.
The mouse pointer must give the picture the right place.
Can someone tell us how to make the syntax because the next doesn't work:
Public Class Join
Dim pict As New PictureBox
pict.Location = New Point(256, 64)
pict.Size = New Size(120, 40)
End Class
Thanks for reading,
Michelle.
We are trying to get a picturebox on a form via a class. The reason is that we need sometimes more then one time the same picture on the form.
The mouse pointer must give the picture the right place.
Can someone tell us how to make the syntax because the next doesn't work:
Public Class Join
Dim pict As New PictureBox
pict.Location = New Point(256, 64)
pict.Size = New Size(120, 40)
End Class
Thanks for reading,
Michelle.