I've learned to create basic wpf programs. I now want to try to add wpf functionality to existing code. For this purpose, I tried several approaches using the *.cs file from a project that worked. So far, I can't get it to work. Where can I find the correct procedure? The books I have do not describe it.

Another related question: The *.cs code that I am using alreade contains all the header ("using") statements that were automatically generated when I created the project from scratch. What do I do If those header files were not there? Can they be automatically generated or do I have to add them manually?

I am using Windows C# 2008 Express Edition