5
Reply

C# virgin

rohmanovich

rohmanovich

20 years ago
1.9k
I just got a c# compiler for no reason and want to start doing something. I have a very simple program that I made in vb that I want to write it in c#. The program is a picture box with a image inside. The picturebox just bounces around the screen and when you click on the image, it plays a sound. Basically I want to do the same thing in C#, except I keep getting: " The type or namespace name 'picturebox1' does not exist in the class or namespace 'System.Windows.Forms' (are you missing an assembly reference?)" I know a little c++ to know that I need a class function to access the picturebox properties. But I don't get the c# code that I have. Hopefully with time and a few good books I can be a little more proficient with c#.

Answers (5)