I have just started working on c#, and was fiddling with some code sample that I got from some forum.
This code is using a namespace
Forms does not exist in the namespace system.windows
Expand the project in Solution Tree,
right click on
Add Reference, Select
You need to add reference to some non-default assemblies sometimes.