Answered Imports System.Drawing

cyclotis04

New member
Joined
Aug 18, 2008
Messages
2
Programming Experience
1-3
I'm creating a component that manipulates bitmaps, but I can't seem to import the System.Drawing namespace.

I have a single solution with a Windows Form Application and a Class Library. The component I'm trying to create is in the Class Library, and the Form is for testing it. I can import System.Drawing into the form, but not into the component. I also tried making my component as a class, but that didn't work either. Any ideas?
 
Last edited:
Class Library projects doesn't reference the System.Drawing library by default, you have to reference it before you can use it.
 
Back
Top