Create a Form
Add a picturebox,
Go to code mode on the partial class (windows gen code)
change system.windows.forms.picturebox to opennetcf.forms.picturebox2
double click on the form to get back to design mode.,
execute., you get an unknown error, for unable to cast.. or something :)., go back to the code you see
in the windows gen code
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
removing it will make it work again