I want to make a picturebox on a form 'shared' so i can pass it into my d3d class, from another module
I have it working now, i editied the designer generated code for the picturebox i changed 'friend' to 'public shared', so it works, but when i am in the form designer window its not shown, and i have a caution thing down in the buiild error/debug window that says "the variable 'PicX' is either undeclared or was never assigned'
but when i run my program it is present
then when i go and edit anything on the form designed the picture box is deleated