Somebody help me to understand how some of this stuff works....

I have a windows service in a solution. I also have a Library file in the same solution where I'm doing all my ADO.NET stuff. How come I have no access to the System.Windows namespace in either project? The Service, yeah, ok, I guess that makes sense, but I'm using the library in some other places. Is there a way to fix this?